Skip to content

Commit a17e507

Browse files
authored
Move CI to Xcode 15.3, macOS 14 (#5)
1 parent a658e14 commit a17e507

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,21 @@ jobs:
1212
linux:
1313
name: Linux SPM unit tests
1414
runs-on: ubuntu-latest
15+
container:
16+
image: swift:5.10
1517
steps:
16-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1719
- name: Run tests
18-
run: make test
20+
run: swift test
1921

20-
macos11:
21-
name: macOS 12 tests
22-
runs-on: macos-12
23-
env:
24-
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
22+
macos:
23+
name: macOS tests
24+
runs-on: macos-14
2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: maxim-lobanov/setup-xcode@v1
27+
with:
28+
xcode-version: 15.3
29+
- uses: actions/checkout@v4
2730
- name: SPM tests
2831
run: make test
2932
- name: Normalize coverage info
@@ -40,8 +43,8 @@ jobs:
4043
steps:
4144
- uses: compnerd/gha-setup-swift@main
4245
with:
43-
branch: swift-5.7-release
44-
tag: 5.7-RELEASE
45-
- uses: actions/checkout@v2
46+
branch: swift-5.10-release
47+
tag: 5.10-RELEASE
48+
- uses: actions/checkout@v4
4649
- name: Run tests
4750
run: swift test -v --enable-test-discovery

SourceMapper.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@
519519
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
520520
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG";
521521
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
522+
SWIFT_STRICT_CONCURRENCY = complete;
522523
USE_HEADERMAP = NO;
523524
};
524525
name = Debug;
@@ -593,6 +594,7 @@
593594
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
594595
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE";
595596
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
597+
SWIFT_STRICT_CONCURRENCY = complete;
596598
USE_HEADERMAP = NO;
597599
};
598600
name = Release;

0 commit comments

Comments
 (0)