Skip to content

Commit ed7e299

Browse files
committed
Test on linux
1 parent e0e592c commit ed7e299

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,38 @@ on:
66
pull_request: [ main ]
77

88
jobs:
9-
build:
10-
runs-on: macos-11
11-
env:
12-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
13-
14-
steps:
15-
- uses: actions/checkout@v2
16-
- name: Build
17-
run: make build
18-
19-
test:
20-
runs-on: macos-11
21-
env:
22-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
23-
24-
steps:
25-
- uses: actions/checkout@v2
26-
- name: Test
27-
run: make test
28-
29-
install:
30-
runs-on: macos-11
31-
env:
32-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
33-
34-
steps:
35-
- uses: actions/checkout@v2
36-
- name: Install
37-
run: make install
38-
- name: Uninstall
39-
run: make uninstall
9+
strategy:
10+
matrix:
11+
os: [macos-11, ubuntu-20.04]
12+
13+
build:
14+
runs-on: ${{ matrix.os }}
15+
env:
16+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Release Build
21+
run: make build
22+
23+
test:
24+
runs-on: ${{ matrix.os }}
25+
env:
26+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Test
31+
run: make test
32+
33+
install:
34+
runs-on: ${{ matrix.os }}
35+
env:
36+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
37+
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Install
41+
run: make install
42+
- name: Uninstall
43+
run: make uninstall

0 commit comments

Comments
 (0)