Skip to content

Commit

Permalink
Support more macOS in CI (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianfett authored Oct 28, 2020
1 parent 737c152 commit 08baaa9
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
"tuxOS-Tests":
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
images:
- swift:5.1
Expand All @@ -48,6 +49,7 @@ jobs:
"tuxOS-Performance-Tests":
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
images:
- swift:5.1
Expand All @@ -65,6 +67,7 @@ jobs:
"tuxOS-Integration-Tests":
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
images:
- swift:5.3
Expand All @@ -83,13 +86,20 @@ jobs:

"macOS-Tests":
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
xcode:
- Xcode_11.1.app
- Xcode_11.6.app
- Xcode_12.2.app
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Show all Xcode versions
run: ls -an /Applications/ | grep Xcode*
- name: Change Xcode command line tools
run: sudo xcode-select -s /Applications/Xcode_11.2.app/Contents/Developer
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}/Contents/Developer
- name: SPM Build
run: swift build
- name: SPM Tests
Expand All @@ -103,8 +113,19 @@ jobs:

"macOS-Performance-Tests":
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
xcode:
- Xcode_11.1.app
- Xcode_11.6.app
- Xcode_12.2.app
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Change Xcode command line tools
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}/Contents/Developer
- name: Swift version
run: swift --version
- name: Build & run
run: swift run -c release

0 comments on commit 08baaa9

Please sign in to comment.