File tree Expand file tree Collapse file tree 3 files changed +38
-9
lines changed Expand file tree Collapse file tree 3 files changed +38
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches : [ main ]
7
+ pull_request :
8
+ branches : [ main ]
9
+
10
+ jobs :
11
+ macOS :
12
+ runs-on : macos-latest
13
+ strategy :
14
+ matrix :
15
+ xcode : ['13.4.1', '14.1']
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - name : Select Xcode ${{ matrix.xcode }}
19
+ run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
20
+ - name : Get swift version
21
+ run : swift --version
22
+ - name : Test
23
+ run : swift test
24
+ - name : Build release
25
+ run : swift build -c release
26
+
27
+ Linux :
28
+ runs-on : ubuntu-latest
29
+ container :
30
+ image : swiftlang/swift@sha256:f212429011a4c3592ffaa660fd78b5bc149e9df7920da02dfc0e7a761582fa10 # swiftlang/swift:nightly-5.9-focal 2023-08-16
31
+ steps :
32
+ - uses : actions/checkout@v3
33
+ - name : Get swift version
34
+ run : swift --version
35
+ - name : Test
36
+ run : swift test
37
+ - name : Build release
38
+ run : swift build -c release
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments