Skip to content

Commit

Permalink
Merge pull request #99 from vincentneo/linux-actions
Browse files Browse the repository at this point in the history
Add workflow job for linux
  • Loading branch information
vincentneo committed Nov 30, 2022
2 parents fd12031 + 84a6227 commit 72e63d3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/swift.yml
Expand Up @@ -48,4 +48,15 @@ jobs:
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX-Example" -destination "OS=15.2,name=iPhone 12 Pro" clean build | xcpretty
- name: Run test cases
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX Tests" -destination "OS=15.2,name=iPhone 12 Pro" test | xcpretty


linux:
name: Linux Build
runs-on: ubuntu-latest
container:
image: swift:latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
cd Classes
swift build

0 comments on commit 72e63d3

Please sign in to comment.