Add github ci

This commit is contained in:
Christian Treffs 2020-08-06 19:36:02 +02:00
parent 680ab42176
commit 762946761f
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 25 additions and 0 deletions

25
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-test-macOS-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Test & Build Release
run: swift build -c release
run: swift test -c release --skip-build --skip-update --parallel
build-test-ubuntu-latest:
build-test-macOS-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Test & Build Release
run: swift build -c release
run: swift test -c release --skip-build --skip-update --parallel