Add a simple build workflow

This commit is contained in:
Max Desiatov 2020-06-05 23:10:11 +01:00 committed by GitHub
parent 3beb6b40a4
commit 296165bb35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
.github/workflows/swift.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Build and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
macos_build:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
linux_build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Test on Ubuntu with Swift 5.2
uses: Didstopia/SwiftAction@v1.0.2
with:
swift-action: build