Skip to content

Commit 2d0f75e

Browse files
committed
Try again to fix compiler flake
1 parent 446611d commit 2d0f75e

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
include:
35-
- swift-version: 'tag:swift-6.2-DEVELOPMENT-SNAPSHOT-2025-10-28-a'
35+
- swift-version: 'tag:swift-6.2-DEVELOPMENT-SNAPSHOT-2025-11-01-a'
3636
build-type: 'docker'
37-
build-compiler: '1'
38-
runner: 'self-hosted'
37+
build-compiler: '0'
38+
runner: 'ubuntu-24.04'
39+
- swift-version: 'tag:swift-DEVELOPMENT-SNAPSHOT-2025-10-17-a'
40+
build-type: 'docker'
41+
build-compiler: '0'
42+
runner: 'ubuntu-24.04'
3943
runs-on: ${{ matrix.runner }}
4044
# 16 hour timeout
4145
timeout-minutes: 1080

swift-ci/sdks/android/scripts/build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,15 @@ for arch in $archs; do
499499
--cross-compile-append-host-target-to-destdir=False
500500
# --extra-cmake-options='-DCMAKE_EXTRA_LINK_FLAGS="-Wl,-z,max-page-size=16384"'
501501
# need to remove the arch-specific portion of the Swift resource dir in
502-
# the build directory, through this symlink that we create in the NDK to
503-
# the build directory, or else we get errors like:
502+
# the build directory or else we get errors like:
504503
# error: could not find module '_Builtin_float' for target 'x86_64-unknown-linux-android'; found: aarch64-unknown-linux-android, at: /home/runner/work/_temp/swift-android-sdk/ndk/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/swift/android/_Builtin_float.swiftmodule
504+
ls -l $ndk_installation/sysroot/usr/lib/swift/
505+
ls -l $ndk_installation/sysroot/usr/lib/swift/android
505506
rm -rf $ndk_installation/sysroot/usr/lib/swift/android
507+
ls -l $ndk_installation/sysroot/usr/lib/swift/
508+
ls -l $SWIFT_BUILD_ROOT/*/swift-*/lib/swift
509+
rm -rf $SWIFT_BUILD_ROOT/*/swift-*/lib/swift/android
510+
ls -l $SWIFT_BUILD_ROOT/*/swift-*/lib/swift
506511
quiet_popd
507512
groupend
508513
done

0 commit comments

Comments
 (0)