We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1948cd commit 115a3d0Copy full SHA for 115a3d0
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ name: Xcode ${{ matrix.xcode }} / ${{ matrix.os }}
12
+ runs-on: ${{ matrix.os }}
13
14
+ strategy:
15
+ matrix:
16
+ os:
17
+ - macos-13 # x86_64 (Intel)
18
+ - macos-latest # arm64 (Apple Silicon)
19
+ xcode:
20
+ - 15.4 # Swift 5.10
21
+ - 16.1 # Swift 6.0
22
23
+ steps:
24
+ - uses: actions/checkout@v4
25
26
+ - name: Select Xcode version ${{ matrix.xcode }}
27
+ run: |
28
+ sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
29
+ xcodebuild -version
30
31
+ - name: Build
32
+ run: swift build -v
33
34
+ - name: Run tests
35
+ run: swift test -v
.github/workflows/swift.yml
0 commit comments