-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
... better late than never.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |