File tree Expand file tree Collapse file tree 1 file changed +21
-17
lines changed Expand file tree Collapse file tree 1 file changed +21
-17
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
macOS :
12
- runs-on : macos-latest
12
+ # https://github.com/actions/runner-images
13
+ runs-on : macos-13
13
14
strategy :
14
15
matrix :
15
- xcode : ['14.3.1 ', '14.0 ']
16
+ xcode : ['15.0 ', '14.3.1 ']
16
17
steps :
17
18
- uses : actions/checkout@v3
18
- - name : Select Xcode ${{ matrix.xcode }}
19
- run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
19
+ -
run :
git config --global user.email "[email protected] "
20
+ - run : git config --global user.name "Name"
21
+ - name : Get swift version
22
+ run : env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift --version
23
+ - name : Test
24
+ run : env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift test
25
+ - name : Build release
26
+ run : env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift build -c release
27
+
28
+ Linux :
29
+ # https://github.com/actions/runner-images
30
+ runs-on : ubuntu-latest
31
+ container :
32
+ image : swiftlang/swift@sha256:f212429011a4c3592ffaa660fd78b5bc149e9df7920da02dfc0e7a761582fa10 # swiftlang/swift:nightly-5.9-focal 2023-08-16
33
+ steps :
34
+ - uses : actions/checkout@v3
35
+ -
run :
git config --global user.email "[email protected] "
36
+ - run : git config --global user.name "Name"
20
37
- name : Get swift version
21
38
run : swift --version
22
39
- name : Test
23
40
run : swift test
24
41
- name : Build release
25
42
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
You can’t perform that action at this time.
0 commit comments