0b1b1ecf05
The current CI runs in ubuntu containers, which do not provide a recent enough version of libarchive. This uses official Void docker images to compile and run tests on the xbps repo. Closes: #39 [via git-merge-pr]
22 lines
621 B
YAML
22 lines
621 B
YAML
language: generic
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
global:
|
|
- MAKEJOBS = -j4
|
|
matrix:
|
|
- CC=gcc DEPENDENCY_PACKAGES="bash kyua zlib-devel libarchive-devel base-devel atf-devel"
|
|
- CC=clang DEPENDENCY_PACKAGES="clang bash kyua zlib-devel libarchive-devel base-devel atf-devel"
|
|
|
|
install:
|
|
- docker pull voidlinux/voidlinux
|
|
- docker run -v "$PWD":/tmp/build-dir voidlinux/voidlinux /bin/sh -c "xbps-install -Syu && xbps-install -y $DEPENDENCY_PACKAGES && cd /tmp/build-dir && CC=$CC ./configure --enable-tests --enable-debug && make $MAKEJOBS && make check"
|
|
|
|
script:
|
|
- echo BUILDS PASSED
|