Skip to content

Commit a1ecd3e

Browse files
authored
Merge pull request #98 from rapierorg/cipi1965-patch-2
Add Github Actions
2 parents 9f8cfea + 2144a87 commit a1ecd3e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/swift.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Project
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build-macos:
11+
12+
runs-on: macos-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Swift Setup
17+
uses: YOCKOW/[email protected]
18+
with:
19+
swift-version: "5.1"
20+
- name: Build
21+
run: swift build
22+
build-linux:
23+
runs-on: [ubuntu-18.04]
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Install xmllint
27+
run: sudo apt-get install libcurl4-openssl-dev
28+
- name: Swift Setup
29+
uses: YOCKOW/[email protected]
30+
with:
31+
swift-version: "5.1"
32+
- name: Build
33+
run: swift build

0 commit comments

Comments
 (0)