Skip to content

Commit f7cfe7c

Browse files
committed
Add more CI configurations
1 parent 6553cfd commit f7cfe7c

1 file changed

Lines changed: 31 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,44 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build:
11-
name: Build
10+
macos:
11+
name: macOS
12+
runs-on: macos-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v2
17+
18+
- name: Install dependencies
19+
run: brew install osxfuse
20+
21+
- name: Build
22+
run: make
23+
24+
- name: Install
25+
run: sudo make install
26+
27+
linux:
28+
name: Linux
1229
runs-on: ubuntu-latest
1330

31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
arch: [x86_64, i386]
35+
36+
env:
37+
ARCH: ${{ matrix.arch }}
38+
1439
steps:
1540
- name: Checkout repository
1641
uses: actions/checkout@v2
1742

1843
- name: Install dependencies
19-
run: sudo apt-get install libfuse-dev fuse
44+
run: |
45+
sudo dpkg --add-architecture $ARCH
46+
sudo apt-get update
47+
sudo apt-get install -y g++-multilib pkg-config:$ARCH libfuse-dev:$ARCH fuse:$ARCH
2048
2149
- name: Build
2250
run: make

0 commit comments

Comments
 (0)