File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : [ main ]
8
8
jobs :
9
- linux -build :
9
+ macos -build :
10
10
name : Build and test on ${{ matrix.os }}
11
11
runs-on : ${{ matrix.os }}
12
12
strategy :
13
13
matrix :
14
- os : [ubuntu -latest]
14
+ os : [macos -latest]
15
15
steps :
16
16
- 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
18
20
- name : Build
19
21
run : swift build
20
22
- name : Run tests
21
23
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 }}
24
26
runs-on : ${{ matrix.os }}
25
27
strategy :
26
28
matrix :
27
- os : [macos-latest]
29
+ os : [ubuntu-latest]
30
+ swift : ["5.4", "5.5", "5.6"]
28
31
steps :
29
- - uses : actions/checkout@v2
30
- - uses : maxim-lobanov/setup-xcode@v1
32
+ - uses : swift-actions/setup-swift@v1
31
33
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
36
37
run : swift test
38
+
You can’t perform that action at this time.
0 commit comments