Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/il2cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
target: "Android"
os: "ubuntu-latest"

- unity: "6000.3.21f1"
- unity: "6000.3.19f1"
target: "StandaloneWindows64"
os: "windows-latest"
- unity: "6000.3.21f1"
- unity: "6000.3.19f1"
target: "StandaloneLinux64"
os: "ubuntu-latest"
- unity: "6000.3.21f1"
- unity: "6000.3.19f1"
target: "Android"
os: "ubuntu-latest"

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

# libunity.so equivalents get copied into build/<target>/ so the archive
# and artifact/release upload steps below pick them up automatically.
- name: "Add libunity.so (Android: patch + extract)"
- name: "Add libunity.so (Android: extract + patch older versions)"
if: matrix.target == 'Android'
shell: bash
run: |
Expand All @@ -107,6 +107,12 @@ jobs:
symbol_entry=$(unzip -Z1 "$symbols_zip" | grep -E '(^|/)arm64-v8a/libunity(\.so|\.(sym|dbg)\.so|\.so\.(sym|dbg))$')
unzip -p "$symbols_zip" "$symbol_entry" > "build/${{ matrix.target }}/libunity.sym.so"

# Skip the legacy security patcher for this Unity revision.
if [[ "${{ matrix.unity }}" == "6000.3.19f1" ]]; then
cp "build/${{ matrix.target }}/libunity-unpatched.so" "build/${{ matrix.target }}/libunity.so"
exit 0
fi

curl -L -o patcher.zip "https://security-patches.unity.com/bc0977e0-21a9-4f6e-9414-4f44b242110a/unity-patcher/UnityApplicationPatcher-1.3.3-Linux.zip"
mkdir -p unity-application-patcher
unzip -q patcher.zip -d unity-application-patcher
Expand Down
Loading