Skip to content

Commit 2131d30

Browse files
committed
Add GitHub CI
1 parent 7dddfa9 commit 2131d30

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/swift.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Swift
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: Build
8+
strategy:
9+
matrix:
10+
swift: [5.7.3, 5.8.1]
11+
os: [ubuntu-20.04, macos-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- name: Install Swift
15+
uses: slashmo/install-swift@v0.3.0
16+
with:
17+
version: ${{ matrix.swift }}
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Swift Version
21+
run: swift --version
22+
- name: Build (Debug)
23+
run: swift build -c debug
24+
- name: Build (Release)
25+
run: swift build -c release

0 commit comments

Comments
 (0)