Skip to content

Commit 977f56b

Browse files
committed
Goodbye Travis, welcome GH Actions
Nice.
1 parent a7406a7 commit 977f56b

File tree

4 files changed

+45
-89
lines changed

4 files changed

+45
-89
lines changed

.github/workflows/swift.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "5 7 * * 1"
8+
9+
jobs:
10+
linux:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
image:
16+
- swift:5.0.3-xenial
17+
- swift:5.1.5-xenial
18+
- swift:5.2.5-xenial
19+
- swift:5.3.2-xenial
20+
- swift:5.3.2-bionic
21+
container: ${{ matrix.image }}
22+
steps:
23+
- name: Checkout Repository
24+
uses: actions/checkout@v2
25+
- name: Build Swift Debug Package
26+
run: swift build -c debug
27+
- name: Build Swift Release Package
28+
run: swift build -c release
29+
- name: Run Tests
30+
run: swift test
31+
nextstep:
32+
runs-on: macos-latest
33+
steps:
34+
- name: Select latest available Xcode
35+
uses: maxim-lobanov/[email protected]
36+
with:
37+
xcode-version: 12.2
38+
- name: Checkout Repository
39+
uses: actions/checkout@v2
40+
- name: Build Swift Debug Package
41+
run: swift build -c debug
42+
- name: Build Swift Release Package
43+
run: swift build -c release
44+
- name: Run Tests
45+
run: swift test

.travis.d/before-install.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

.travis.d/install.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)