-
Notifications
You must be signed in to change notification settings - Fork 38
58 lines (44 loc) · 1021 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: "Continuous Integration"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
macos:
name: macOS
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: brew install macfuse
- name: Build
run: make
- name: Test
run: make check
- name: Install
run: sudo make install
linux:
name: Linux
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: [amd64, i386]
env:
ARCH: ${{ matrix.arch }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo dpkg --add-architecture $ARCH
sudo apt-get update
sudo apt-get install -y g++-multilib pkg-config:$ARCH libfuse-dev:$ARCH fuse:$ARCH
- name: Build
run: make
- name: Install
run: sudo make install