-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (41 loc) · 911 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
name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
build:
- linux-gcc
- linux-clang
- macos
- linux-i686-gcc
include:
- build: linux-gcc
os: ubuntu-20.04
cc: gcc
- build: linux-clang
os: ubuntu-20.04
cc: clang
- build: macos
os: macos-11
- build: linux-i686-gcc
os: ubuntu-20.04
arch: i686
env:
CI_TARGET_ARCH: ${{ matrix.arch }}
CC: ${{ matrix.cc }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install dependencies
run: ./ci/actions-install.sh
- name: Build
run: ./ci/actions-build.sh
- name: Smoke test
run: ./ci/actions-smoke-test.sh
- name: Full test
run: ./ci/actions-full-test.sh