Skip to content

Commit a6cff45

Browse files
committed
feat: add ubuntu build ci
1 parent 34b1fd2 commit a6cff45

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/swift.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ jobs:
2222
- name: Test
2323
run: swift test --package-path Core
2424

25+
ubuntu-build:
26+
name: Build and Test on Ubuntu
27+
runs-on: ubuntu-22.04
28+
steps:
29+
- uses: actions/checkout@v4
30+
with:
31+
submodules: true
32+
- name: Setup Swift 6.1
33+
uses: swift-actions/setup-swift@v1
34+
with:
35+
swift-version: "6.1"
36+
- name: Build
37+
run: swift build --package-path Core
38+
- name: Test
39+
run: swift test --package-path Core
40+
2541
xcodebuild-test:
2642
name: Xcodebuild test on macOS
2743
runs-on: macos-15

0 commit comments

Comments
 (0)