Skip to content

Commit

Permalink
Use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
akkyie committed Aug 20, 2021
1 parent 0f3e91c commit 88d0afe
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on: push

jobs:
test_xcode:
strategy:
matrix:
include:
- os: macos-latest
swift: "~5.3"
- os: macos-11
swift: "~5.4"
- os: macos-11
swift: "~5.5"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: make lint/xcode
- uses: mxcl/xcodebuild@v1
with:
swift: ${{ matrix.swift }}

test-spm:
strategy:
matrix:
swift: ["5.3", "5.4"]
runs-on: ubuntu-latest
container:
image: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v2
- run: make test/spm

0 comments on commit 88d0afe

Please sign in to comment.