Skip to content

Commit 62f7e52

Browse files
committed
Enable iOS and Android CI
We should have iOS coverage for Swift Playground, and some folks are interested in building the Swift toolchain for Android itself.
1 parent 6bffad0 commit 62f7e52

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
windows_swift_versions: '["nightly-main"]'
2525
windows_build_command: 'Invoke-Program swift test --no-parallel'
2626
enable_linux_static_sdk_build: true
27+
enable_android_sdk_build: true
28+
android_ndk_version: '["r27d", "r29"]'
2729
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
30+
enable_ios_checks: true
2831
enable_macos_checks: true
2932
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.3\"}, {\"xcode_version\": \"16.4\"}]"
3033
macos_pre_build_command: ./.github/scripts/prebuild.sh

Tests/SWBUtilTests/FSProxyTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import SWBTestSupport
2929
return
3030
}
3131
for mode in modes {
32-
#expect(sbuf.st_mode & mode > 0, "mode \(mode) not found on \(path)", sourceLocation: sourceLocation)
32+
#expect(mode_t(sbuf.st_mode) & mode > 0, "mode \(mode) not found on \(path)", sourceLocation: sourceLocation)
3333
}
3434
}
3535
#endif

Tests/SwiftBuildTests/ConsoleCommands/ServiceConsoleTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import System
2525
import SystemPackage
2626
#endif
2727

28+
import SWBLibc
29+
2830
@Suite
2931
fileprivate struct ServiceConsoleTests {
3032
@Test

0 commit comments

Comments
 (0)