Skip to content

Commit

Permalink
Updated GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Apr 25, 2022
1 parent c1e2b98 commit a90a85b
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,30 @@ name: Swift
on: [push]

jobs:

macOS-swift:
name: macOS
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Xcode Version
run: |
xcodebuild -version
- name: Swift Version
run: swift --version
- name: Build (Debug)
run: swift build -c debug
- name: Build (Release)
run: swift build -c release

linux-swift:
name: Linux x86_64
runs-on: ubuntu-20.04
container: swift:5.6.1-focal
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Swift Version
run: swift --version
- name: Build (Debug)
Expand Down

0 comments on commit a90a85b

Please sign in to comment.