-
Notifications
You must be signed in to change notification settings - Fork 10
50 lines (46 loc) · 1.04 KB
/
ci.yml
File metadata and controls
50 lines (46 loc) · 1.04 KB
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
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
- android
include:
- build: linux-gcc
os: ubuntu-22.04
cc: gcc
- build: linux-clang
os: ubuntu-22.04
cc: clang
- build: macos
os: macos-12
- build: linux-i686-gcc
os: ubuntu-22.04
arch: i686
- build: android
os: ubuntu-22.04
arch: aarch64-linux-android32
env:
CI_TARGET_BUILD: ${{ matrix.build }}
CI_TARGET_ARCH: ${{ matrix.arch }}
CC: ${{ matrix.cc }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- 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