Compare commits
No commits in common. "abe9a264602b5b34223b0b6d79603279bb74950e" and "af27aca021396b3b3dd9b4df23635d2d5419c7ad" have entirely different histories.
abe9a26460
...
af27aca021
|
@ -17,8 +17,6 @@ runs:
|
|||
TOOLCHAIN_32_SHA=6171652abc54ef219e5187bc53660ee4e2f796f4
|
||||
TOOLCHAIN_ARM64_URL=https://github.com/godotengine/buildroot/releases/download/godot-2023.08.x-3/aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2
|
||||
TOOLCHAIN_ARM64_SHA=73bed3d26b92c8b9a93c0ceb6bcce8fe567d1764
|
||||
TOOLCHAIN_ARM32_URL=https://github.com/godotengine/buildroot/releases/download/godot-2023.08.x-3/arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2
|
||||
TOOLCHAIN_ARM32_SHA=aa5853fd73faec3837c6127649471275d7e61cb2
|
||||
|
||||
# ! Export variables:
|
||||
if [[ "${{ inputs.arch }}" == "x86_64" ]]; then
|
||||
|
@ -30,9 +28,6 @@ runs:
|
|||
elif [[ "${{ inputs.arch }}" == "arm64" ]]; then
|
||||
echo "TOOLCHAIN_URL=${TOOLCHAIN_ARM64_URL}" >> "$GITHUB_ENV"
|
||||
echo "TOOLCHAIN_SHA=${TOOLCHAIN_ARM64_SHA}" >> "$GITHUB_ENV"
|
||||
elif [[ "${{ inputs.arch }}" == "arm32" ]]; then
|
||||
echo "TOOLCHAIN_URL=${TOOLCHAIN_ARM32_URL}" >> "$GITHUB_ENV"
|
||||
echo "TOOLCHAIN_SHA=${TOOLCHAIN_ARM32_SHA}" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
||||
- name: Cache buildroot
|
||||
|
|
|
@ -287,6 +287,19 @@ jobs:
|
|||
echo "---"
|
||||
ls -R out/
|
||||
|
||||
- name: Strip lib
|
||||
if: matrix.opts.platform != 'windows' && matrix.opts.platform != 'web' && (matrix.opts.platform != 'android' || startsWith(matrix.opts.arch, 'x86'))
|
||||
run: |
|
||||
ls -l -R out/addons/limboai/bin/
|
||||
echo "---"
|
||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
strip -u out/addons/limboai/bin/liblimboai*/liblimboai*
|
||||
else
|
||||
strip out/addons/limboai/bin/liblimboai*
|
||||
fi
|
||||
echo "---"
|
||||
ls -l -R out/addons/limboai/bin/
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
env:
|
||||
|
|
|
@ -170,6 +170,9 @@ jobs:
|
|||
cp -r misc/dist/ios_xcode bin/
|
||||
cd bin/
|
||||
|
||||
# --- Note: Doesn't look like libs need stripping ---
|
||||
# strip *.a
|
||||
|
||||
mv libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
|
||||
# ! lipo -create libgodot.ios.template_debug.arm64.simulator.a libgodot.ios.template_debug.x86_64.simulator.a -output ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
||||
mv libgodot.ios.template_debug.x86_64.simulator.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
||||
|
|
|
@ -105,20 +105,6 @@ jobs:
|
|||
dotnet: false
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
# * Standard arm32
|
||||
|
||||
- name: Template (arm32, release)
|
||||
target: template_release
|
||||
arch: arm32
|
||||
dotnet: false
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
- name: Template (arm32, debug)
|
||||
target: template_debug
|
||||
arch: arm32
|
||||
dotnet: false
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
# * .NET x86_64
|
||||
|
||||
- name: Editor .NET (x86_64, release)
|
||||
|
@ -161,13 +147,11 @@ jobs:
|
|||
|
||||
# * .NET arm64
|
||||
|
||||
# ! FIXME: Needs a separate job for .NET glue generation since we can't execute arm64 binaries on x86_64.
|
||||
# ! Alternatively, solution generation can be done as post-process job, taking the glue from x86_64, after all builds complete.
|
||||
# - name: Editor .NET (arm64, release)
|
||||
# target: editor
|
||||
# arch: arm64
|
||||
# dotnet: true
|
||||
# should-build: ${{ !inputs.test-build }}
|
||||
- name: Editor .NET (arm64, release)
|
||||
target: editor
|
||||
arch: arm64
|
||||
dotnet: true
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
- name: Template .NET (arm64, release)
|
||||
target: template_release
|
||||
|
@ -181,20 +165,6 @@ jobs:
|
|||
dotnet: true
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
# * .NET arm32
|
||||
|
||||
- name: Template .NET (arm32, release)
|
||||
target: template_release
|
||||
arch: arm32
|
||||
dotnet: true
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
- name: Template .NET (arm32, debug)
|
||||
target: template_debug
|
||||
arch: arm32
|
||||
dotnet: true
|
||||
should-build: ${{ !inputs.test-build }}
|
||||
|
||||
exclude:
|
||||
- { opts: { should-build: false } }
|
||||
|
||||
|
@ -261,6 +231,11 @@ jobs:
|
|||
env:
|
||||
OUTDIR: ${{ startsWith(matrix.opts.target, 'template') && 'out/templates' || 'out/' }}
|
||||
run: |
|
||||
if [ "${{matrix.opts.arch}}" == "arm64" ]; then
|
||||
${GITHUB_WORKSPACE}/buildroot/bin/aarch64-godot-linux-gnu-strip ./bin/godot.*
|
||||
else
|
||||
strip ./bin/godot.*
|
||||
fi
|
||||
chmod +x ./bin/godot.*
|
||||
mkdir -p ${{env.OUTDIR}}
|
||||
mv bin/* ${{env.OUTDIR}}
|
||||
|
|
|
@ -199,6 +199,7 @@ jobs:
|
|||
|
||||
- name: Prepare artifact
|
||||
run: |
|
||||
strip bin/godot.*
|
||||
chmod +x bin/godot.*
|
||||
|
||||
- name: Upload artifact
|
||||
|
@ -256,6 +257,9 @@ jobs:
|
|||
run: |
|
||||
ls bin/
|
||||
lipo -create bin/godot.macos.editor.x86_64* bin/godot.macos.editor.arm64* -output bin/godot.macos.editor.universal
|
||||
du -sh bin/
|
||||
strip bin/godot.macos.editor.universal
|
||||
du -sh bin/
|
||||
mkdir -p out/editor/
|
||||
cp -r misc/dist/macos_tools.app out/editor/${APP_NAME}
|
||||
mkdir -p out/editor/${APP_NAME}/Contents/{MacOS,Resources}
|
||||
|
@ -291,6 +295,7 @@ jobs:
|
|||
ls bin/
|
||||
lipo -create bin/godot.macos.template_release.x86_64* bin/godot.macos.template_release.arm64* -output bin/godot.macos.template_release.universal
|
||||
lipo -create bin/godot.macos.template_debug.x86_64* bin/godot.macos.template_debug.arm64* -output bin/godot.macos.template_debug.universal
|
||||
strip bin/godot.*.universal
|
||||
cp -r misc/dist/macos_template.app macos_template.app
|
||||
mkdir -p macos_template.app/Contents/MacOS
|
||||
cp bin/godot.macos.template_debug.universal macos_template.app/Contents/MacOS/godot_macos_debug.universal
|
||||
|
|
Loading…
Reference in New Issue