2021-09-30 10:39:36 +05:30
|
|
|
name: Build and run tests
|
|
|
|
|
2021-12-27 03:00:36 +05:30
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 2 * * *'
|
2021-09-30 10:39:36 +05:30
|
|
|
|
|
|
|
jobs:
|
2021-12-23 22:22:35 +05:30
|
|
|
build-ubuntu-gcc:
|
2021-09-30 10:39:36 +05:30
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 22:54:37 +05:30
|
|
|
- uses: actions/checkout@v3
|
2021-09-30 10:39:36 +05:30
|
|
|
- name: Build
|
|
|
|
run: make test
|
2021-12-27 02:28:19 +05:30
|
|
|
build-ubuntu-clang:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 22:54:37 +05:30
|
|
|
- uses: actions/checkout@v3
|
2021-12-27 02:28:19 +05:30
|
|
|
- name: Build
|
|
|
|
run: CC=clang CXX=clang++ make test
|
2021-12-23 22:22:35 +05:30
|
|
|
build-musl:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: alpine:latest
|
|
|
|
steps:
|
2022-03-02 22:54:37 +05:30
|
|
|
- uses: actions/checkout@v3
|
2021-12-23 22:22:35 +05:30
|
|
|
- name: Install dependencies
|
|
|
|
run: apk add build-base python3
|
|
|
|
- name: Build
|
|
|
|
run: make test
|
2022-01-04 17:24:25 +05:30
|
|
|
build-ubuntu-gcc-aarch64:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 22:54:37 +05:30
|
|
|
- uses: actions/checkout@v3
|
2022-01-04 17:24:25 +05:30
|
|
|
- name: Install dependencies
|
|
|
|
run: sudo apt install --no-install-recommends gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libgcc-s1-arm64-cross cpp-aarch64-linux-gnu
|
|
|
|
- name: Build
|
|
|
|
run: CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-gcc++ make CONFIG_NATIVE=false
|