Skip to content

Commit

Permalink
Drop Travis, use GH Actions
Browse files Browse the repository at this point in the history
... better late than never.
  • Loading branch information
helje5 committed Jan 13, 2021
1 parent ccbdfa8 commit c92048f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build and Test

on:
push:
pull_request:
schedule:
- cron: "0 9 * * 1"

jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- swift:5.0.3-xenial
- swift:5.1.5-xenial
- swift:5.2.5-xenial
- swift:5.3.2-xenial
- swift:5.3.2-bionic
container: ${{ matrix.image }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release
nextstep:
runs-on: macos-latest
steps:
- name: Select latest available Xcode
uses: maxim-lobanov/[email protected]
with:
xcode-version: 12.2
- name: Checkout Repository
uses: actions/checkout@v2
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release

0 comments on commit c92048f

Please sign in to comment.