Skip to content

Commit f4039d0

Browse files
committed
release: don't cache ndk + verify arm64 alignment
1 parent 32668c4 commit f4039d0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/generic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
if: ${{ matrix.platform.android-ndk }}
7777
id: setup-ndk
7878
with:
79-
local-cache: true
79+
local-cache: false
8080
ndk-version: r28c
8181
- name: 'Configure Android NDK variables'
8282
if: ${{ matrix.platform.android-ndk }}

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ jobs:
535535
id: setup-ndk
536536
uses: nttld/setup-ndk@v1
537537
with:
538-
local-cache: true
538+
local-cache: false
539539
ndk-version: r28c
540540
- name: 'Setup Java JDK'
541541
uses: actions/setup-java@v4
@@ -610,8 +610,14 @@ jobs:
610610
python "${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}.aar" -o /tmp/SDL3-android
611611
echo "prefix=/tmp/SDL3-android" >>$GITHUB_OUTPUT
612612
echo "sdl3-aar=/tmp/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}.aar" >>$GITHUB_OUTPUT
613+
- name: 'Verify alignment of libSDL3.so (arm64-v8a/x86_64)'
614+
run: |
615+
set -e
616+
${{ steps.src.outputs.path }}/build-scripts/check_elf_alignment.sh ${{ steps.sdk.outputs.prefix }}/lib/arm64-v8a/libSDL3.so
617+
${{ steps.src.outputs.path }}/build-scripts/check_elf_alignment.sh ${{ steps.sdk.outputs.prefix }}/lib/x86_64/libSDL3.so
613618
- name: 'CMake (configure + build) x86, x64, arm32, arm64'
614619
run: |
620+
set -e
615621
android_abis="x86 x86_64 armeabi-v7a arm64-v8a"
616622
for android_abi in ${android_abis}; do
617623
echo "Configuring ${android_abi}..."

0 commit comments

Comments
 (0)