Skip to content

Commit fe7fa5d

Browse files
authored
add build on linux
1 parent 9d0173a commit fe7fa5d

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/swift.yml

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

4-
name: macos-build
4+
name: swift-openapi-lambda-build
55

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

1212
jobs:
13-
build:
13+
build-macos:
1414

1515
env:
1616
# https://github.com/actions/runner-images/tree/main/images/macos
@@ -24,3 +24,15 @@ jobs:
2424
run: swift build -v
2525
- name: Run tests
2626
run: swift test -v
27+
28+
build-linux:
29+
30+
runs-on: ubuntu-22.04
31+
32+
steps:
33+
- uses: actions/checkout@v3
34+
- name: Build
35+
run: swift build -v
36+
- name: Run tests
37+
run: swift test -v
38+

0 commit comments

Comments
 (0)