xbps/.github/workflows/ci.yaml
Michael Aldridge 9dfeb8a0db
ci: update base CI images
Closes: #389 [via git-merge-pr]
2022-07-20 15:06:12 +02:00

36 lines
1.1 KiB
YAML

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
void_image: ghcr.io/void-linux/latest-full-x86_64
- c_library: musl
void_image: ghcr.io/void-linux/latest-full-x86_64-musl
- c_library: musl
void_image: ghcr.io/void-linux/latest-full-x86_64-musl
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
- name: Build
env:
CC: ${{ matrix.c_compiler }}
run: |
./configure --enable-tests
make -j
- run: make check