Skip to content

Commit dcaba63

Browse files
committed
Updated GitHub CI
1 parent 1062d73 commit dcaba63

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,21 @@ jobs:
3939
- name: Unit Tests
4040
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=macOS" | xcpretty && exit ${PIPESTATUS[0]}
4141

42+
macOS-swift6:
43+
name: macOS (Swift 6)
44+
runs-on: macos-15
45+
steps:
46+
- uses: actions/checkout@main
47+
- uses: maxim-lobanov/setup-xcode@v1
48+
with:
49+
xcode-version: latest-stable
50+
- name: Set Package to Swift 6.0
51+
run: swift package tools-version --set "6.0"
52+
- name: Build
53+
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS,name=Any Mac" | xcpretty && exit ${PIPESTATUS[0]}
54+
- name: Unit Tests
55+
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=macOS" | xcpretty && exit ${PIPESTATUS[0]}
56+
4257
macCatalyst:
4358
name: macCatalyst
4459
runs-on: macos-15

0 commit comments

Comments
 (0)