File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Swift
2+ on : [push]
3+ jobs :
4+
5+ macos :
6+ name : macOS
7+ runs-on : macos-26
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ config : ["debug", "release"]
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+ - name : Swift Version
16+ run : swift --version
17+ - name : Build
18+ run : swift build -c ${{ matrix.config }}
19+ - name : Test
20+ run : swift test -c ${{ matrix.config }}
21+
22+ linux :
23+ name : Linux (${{ matrix.container }})
24+ runs-on : ubuntu-latest
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ container : ["swift:latest", "swiftlang/swift:nightly-noble"]
29+ config : ["debug", "release"]
30+ container : ${{ matrix.container }}
31+ steps :
32+ - name : Checkout
33+ uses : actions/checkout@v4
34+ - name : Swift Version
35+ run : swift --version
36+ - name : Build
37+ run : swift build -c ${{ matrix.config }}
38+ - name : Test
39+ run : swift test -c ${{ matrix.config }}
You can’t perform that action at this time.
0 commit comments