Skip to content

Commit 17ce03a

Browse files
committed
Updated GitHub CI: Added Linux build and unit test
1 parent 7bcc50f commit 17ce03a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,13 @@ jobs:
176176
- name: Unit Tests
177177
if: steps.destnameprep.outcome != 'failure'
178178
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=watchOS Simulator,name=$DESTNAME" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
179+
180+
linux:
181+
name: linux
182+
runs-on: ubuntu-latests
183+
steps:
184+
- uses: actions/checkout@main
185+
- name: Build
186+
run: swift build
187+
- name: Unit Tests
188+
run: swift test

0 commit comments

Comments
 (0)