Skip to content

Commit 8c43356

Browse files
authored
Update swift.yml
1 parent 293959f commit 8c43356

File tree

1 file changed

+37
-11
lines changed

1 file changed

+37
-11
lines changed

.github/workflows/swift.yml

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a Swift project
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
33

4-
name: Swift
4+
name: Build Test
55

66
on:
77
push:
@@ -10,15 +10,41 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
build:
14-
15-
runs-on: macos-latest
13+
xcode-16-3:
14+
runs-on: macos-15
15+
env:
16+
DEVELOPER_DIR: /Applications/Xcode_16.3.app/Contents/Developer
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Version
20+
run: swift --version
21+
- name: Build
22+
run: swift build -v
23+
# - name: Test
24+
# run: swift test -v
1625

26+
xcode-15-4:
27+
runs-on: macos-14
28+
env:
29+
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
30+
steps:
31+
- uses: actions/checkout@v4
32+
- name: Version
33+
run: swift --version
34+
- name: Build
35+
run: swift build -v
36+
# - name: Test
37+
# run: swift test -v
38+
39+
xcode-15-0:
40+
runs-on: macos-13
41+
env:
42+
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
1743
steps:
18-
- uses: actions/checkout@v3
19-
- name: Set up Swift
20-
uses: fwal/setup-swift@v1
21-
with:
22-
swift-version: '5.9.0'
23-
- name: Build
24-
run: swift build -v
44+
- uses: actions/checkout@v4
45+
- name: Version
46+
run: swift --version
47+
- name: Build
48+
run: swift build -v
49+
# - name: Test
50+
# run: swift test -v

0 commit comments

Comments
 (0)