4bc91d3ed77492b06be7f775c50b39ca444d6738
[fio.git] / .github / workflows / ci.yml
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
17         - linux-i686-gcc
18         - android
19         include:
20         - build: linux-gcc
21           os: ubuntu-22.04
22           cc: gcc
23         - build: linux-clang
24           os: ubuntu-22.04
25           cc: clang
26         - build: macos
27           os: macos-12
28         - build: linux-i686-gcc
29           os: ubuntu-22.04
30           arch: i686
31         - build: android
32           os: ubuntu-22.04
33           arch: aarch64-linux-android32
34
35     env:
36       CI_TARGET_BUILD: ${{ matrix.build }}
37       CI_TARGET_ARCH: ${{ matrix.arch }}
38       CC: ${{ matrix.cc }}
39
40     steps:
41     - name: Checkout repo
42       uses: actions/checkout@v3
43     - name: Install dependencies
44       run: ./ci/actions-install.sh
45     - name: Build
46       run: ./ci/actions-build.sh
47     - name: Smoke test
48       run: ./ci/actions-smoke-test.sh
49     - name: Full test
50       run: ./ci/actions-full-test.sh