36 lines
1.2 KiB
YAML
Raw Normal View History

2020-12-12 23:11:49 -03:00
name: Tests
on: [push, pull_request]
jobs:
testsuite:
strategy:
fail-fast: false
matrix:
c_library: [glibc, musl]
c_compiler: [gcc, clang]
include:
- c_library: glibc
2022-07-20 15:16:16 +02:00
void_image: ghcr.io/void-linux/void-linux:20220530rc01-full-x86_64
2020-12-12 23:11:49 -03:00
- c_library: musl
2022-07-20 15:16:16 +02:00
void_image: ghcr.io/void-linux/void-linux:20220530rc01-full-x86_64-musl
2020-12-12 23:11:49 -03:00
- c_library: musl
2022-07-20 15:16:16 +02:00
void_image: ghcr.io/void-linux/void-linux:20220530rc01-full-x86_64-musl
2020-12-12 23:11:49 -03:00
c_compiler: pcc
extra_deps: gcc
runs-on: ubuntu-latest
container: ${{ matrix.void_image }}
steps:
- uses: actions/checkout@v1
- run: |
xbps-install -Syu || xbps-install -yu xbps
xbps-install -Sy ${{ matrix.c_compiler }} ${{ matrix.extra_deps }} make pkg-config zlib-devel openssl-devel libarchive-devel kyua atf-devel
2020-12-12 23:11:49 -03:00
- name: Build
env:
CC: ${{ matrix.c_compiler }}
run: |
./configure --enable-tests
make -j
- run: make check