Skip to content

Commit 9a7a099

Browse files
committed
Fix check_elf_alignment.sh step
1 parent 1b41f44 commit 9a7a099

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build_android_sdk.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,13 @@ jobs:
133133
- name: Check ELF Alignment
134134
# https://developer.android.com/guide/practices/page-sizes#alignment-use-script
135135
run: |
136-
./swift-android-sdk-build/scripts/check_elf_alignment.sh ~/.swiftpm/swift-sdks/*.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/
136+
CHECK_ELF_ALIGNMENT=$(realpath ./swift-android-sdk-build/scripts/check_elf_alignment.sh)
137+
ls ~/.swiftpm/swift-sdks/
138+
ls ~/.swiftpm/swift-sdks/*.artifactbundle/swift-android/
139+
ls ~/.swiftpm/swift-sdks/*.artifactbundle/swift-android/swift-resources/usr/lib/
140+
ls ~/.swiftpm/swift-sdks/*.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/
141+
cd ~/.swiftpm/swift-sdks/*.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/
142+
${CHECK_ELF_ALIGNMENT} .
137143
- name: Create Demo Project
138144
run: |
139145
cd ${{ runner.temp }}

0 commit comments

Comments
 (0)