add test sr.ht autoconf alpine edge build

feature/tap-sh
William Pitcock 2019-05-04 02:47:28 -05:00
parent be6011222b
commit bf1c18a181
2 changed files with 23 additions and 31 deletions

View File

@ -0,0 +1,23 @@
image: alpine/edge
packages:
- build-base
- autoconf
- automake
- libtool
- kyua
- atf
- xz
- gzip
sources:
- https://git.sr.ht/~kaniini/pkgconf
tasks:
- autogen: |
cd ~/pkgconf
sh autogen.sh
- configure: |
cd ~/pkgconf
./configure
- distcheck: |
cd ~/pkgconf
make distcheck

View File

@ -1,31 +0,0 @@
sudo: required
language: minimal
env:
matrix:
- ARCH=x86_64
- ARCH=x86
- ARCH=aarch64
- ARCH=armhf
- ARCH=ppc64le
before_install:
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.7.0/alpine-chroot-install' \
&& echo '090d323d887ef3a2fd4e752428553f22a52b87bb alpine-chroot-install' | sha1sum -c || exit 1"
- alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
install:
- sudo sh alpine-chroot-install -a "$ARCH"
-p 'build-base autoconf automake libtool kyua atf xz gzip'
script:
- alpine sh ./autogen.sh
- alpine ./configure
- alpine make distcheck
notifications:
email: false
irc:
channels:
- "irc.freenode.org#pkgconf"
on_success: change
on_failure: always