File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : " 20 9 * * 1"
8+
9+ jobs :
10+ linux :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ image :
16+ - swift:5.0.3-xenial
17+ - swift:5.1.5-xenial
18+ - swift:5.2.5-xenial
19+ - swift:5.3.2-xenial
20+ - swift:5.3.2-bionic
21+ container : ${{ matrix.image }}
22+ steps :
23+ - name : Checkout Repository
24+ uses : actions/checkout@v2
25+ - name : Build Swift Debug Package
26+ run : swift build -c debug
27+ - name : Build Swift Release Package
28+ run : swift build -c release
29+ - name : Run Tests
30+ run : swift test
31+ nextstep :
32+ runs-on : macos-latest
33+ steps :
34+ - name : Select latest available Xcode
35+ uses :
maxim-lobanov/[email protected] 36+ with :
37+ xcode-version : 12.2
38+ - name : Checkout Repository
39+ uses : actions/checkout@v2
40+ - name : Build Swift Debug Package
41+ run : swift build -c debug
42+ - name : Build Swift Release Package
43+ run : swift build -c release
44+ - name : Run Tests
45+ run : swift test
You can’t perform that action at this time.
0 commit comments