Commit | Line | Data |
---|---|---|
ce1b5612 SW |
1 | name: CI |
2 | ||
3 | on: | |
4 | push: | |
5 | pull_request: | |
6 | ||
7 | jobs: | |
8 | build: | |
9 | runs-on: ${{ matrix.os }} | |
10 | strategy: | |
11 | fail-fast: false | |
12 | matrix: | |
13 | build: | |
14 | - linux-gcc | |
15 | - linux-clang | |
16 | - macos | |
ce1b5612 SW |
17 | include: |
18 | - build: linux-gcc | |
19 | os: ubuntu-20.04 | |
20 | cc: gcc | |
21 | - build: linux-clang | |
22 | os: ubuntu-20.04 | |
23 | cc: clang | |
24 | - build: macos | |
d685f07e | 25 | os: macos-11 |
ce1b5612 SW |
26 | |
27 | env: | |
28 | CI_TARGET_ARCH: ${{ matrix.arch }} | |
29 | CC: ${{ matrix.cc }} | |
30 | ||
31 | steps: | |
32 | - name: Checkout repo | |
33 | uses: actions/checkout@v2 | |
34 | - name: Install dependencies | |
35 | run: ./ci/actions-install.sh | |
36 | - name: Build | |
37 | run: ./ci/actions-build.sh | |
38 | - name: Smoke test | |
39 | run: ./ci/actions-smoke-test.sh | |
40 | - name: Full test | |
41 | run: ./ci/actions-full-test.sh |