File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ main ]
88jobs :
9- linux -build :
9+ macos -build :
1010 name : Build and test on ${{ matrix.os }}
1111 runs-on : ${{ matrix.os }}
1212 strategy :
1313 matrix :
14- os : [ubuntu -latest]
14+ os : [macos -latest]
1515 steps :
1616 - uses : actions/checkout@v2
17- - uses : swift-actions/setup-swift@v1
17+ - uses : maxim-lobanov/setup-xcode@v1
18+ with :
19+ xcode-version : latest-stable
1820 - name : Build
1921 run : swift build
2022 - name : Run tests
2123 run : swift test
22- macos -build :
23- name : Build and test on ${{ matrix.os }}
24+ linux -build :
25+ name : Build and test ${{ matrix.swift }} on ${{ matrix.os }}
2426 runs-on : ${{ matrix.os }}
2527 strategy :
2628 matrix :
27- os : [macos-latest]
29+ os : [ubuntu-latest]
30+ swift : ["5.4", "5.5", "5.6"]
2831 steps :
29- - uses : actions/checkout@v2
30- - uses : maxim-lobanov/setup-xcode@v1
32+ - uses : swift-actions/setup-swift@v1
3133 with :
32- xcode-version : latest-stable
33- - name : Build
34- run : swift build
35- - name : Run tests
34+ swift-version : ${{ matrix.swift }}
35+ - uses : actions/checkout@v2
36+ - name : Test
3637 run : swift test
38+
You can’t perform that action at this time.
0 commit comments