2022-12-25 03:58:00 -05:00
|
|
|
# We use sourcehut CI (https://builds.sr.ht) to test on OpenBSD.
|
|
|
|
# For GNU/Linux CI see GitHub Actions.
|
|
|
|
|
|
|
|
image: openbsd/7.2
|
|
|
|
arch: amd64
|
|
|
|
sources:
|
2022-12-25 05:14:39 -05:00
|
|
|
- https://github.com/tailix/libclayer.git
|
2022-12-25 03:58:00 -05:00
|
|
|
packages:
|
|
|
|
- autoconf-2.71
|
|
|
|
- automake-1.16.5
|
|
|
|
- cppcheck
|
|
|
|
- m4
|
|
|
|
- wget
|
|
|
|
environment:
|
|
|
|
AUTOCONF_VERSION: '2.71'
|
|
|
|
AUTOMAKE_VERSION: '1.16'
|
|
|
|
tasks:
|
|
|
|
- libtool: |
|
|
|
|
wget https://ftpmirror.gnu.org/libtool/libtool-2.4.7.tar.gz
|
|
|
|
tar -xzf libtool-2.4.7.tar.gz
|
|
|
|
cd libtool-2.4.7
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
doas make install
|
|
|
|
- build: |
|
2022-12-25 05:14:39 -05:00
|
|
|
cd libclayer
|
2022-12-25 03:58:00 -05:00
|
|
|
./autogen.sh
|
2022-12-25 04:04:30 -05:00
|
|
|
./configure --enable-checks-all CFLAGS='-O3'
|
2022-12-25 03:58:00 -05:00
|
|
|
make
|
|
|
|
doas make install
|
|
|
|
- test: |
|
2022-12-25 05:14:39 -05:00
|
|
|
cd libclayer
|
2022-12-25 03:58:00 -05:00
|
|
|
make check
|