2021-09-30 07:09:36 +02:00
|
|
|
name: Build and run tests
|
|
|
|
|
2021-12-26 22:30:36 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 2 * * *'
|
2021-09-30 07:09:36 +02:00
|
|
|
|
|
|
|
jobs:
|
2021-12-23 17:52:35 +01:00
|
|
|
build-ubuntu-gcc:
|
2021-09-30 07:09:36 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
|
|
run: make test
|
2021-12-26 21:58:19 +01:00
|
|
|
build-ubuntu-clang:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
|
|
run: CC=clang CXX=clang++ make test
|
2021-12-23 17:52:35 +01:00
|
|
|
build-musl:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: alpine:latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
|
|
run: apk add build-base python3
|
|
|
|
- name: Build
|
|
|
|
run: make test
|