2017-05-04 11:40:28 +00:00
|
|
|
language: c
|
|
|
|
compiler: gcc
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
- ARCH=i686 DOCKER_IMAGE=toopher/centos-i386:centos6
|
|
|
|
- ARCH=x86_64 DOCKER_IMAGE=library/centos:6.8
|
|
|
|
|
|
|
|
script:
|
2017-05-04 12:01:39 +00:00
|
|
|
- mkdir -p ./out/
|
2017-05-04 12:04:25 +00:00
|
|
|
- docker run -i -v ${PWD}/out:/out -v "${PWD}:/AppImageKit-checkrt" "$DOCKER_IMAGE" /bin/bash -c "yum -y install gcc wget make binutils glibc-devel patch ; make -C /AppImageKit-checkrt ; cp /AppImageKit-checkrt/AppRun_patched out/AppRun-patched-${ARCH}"
|
2017-05-04 12:01:39 +00:00
|
|
|
- ls -lh out/*
|
2017-05-04 11:40:28 +00:00
|
|
|
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
2017-05-04 12:01:39 +00:00
|
|
|
- bash ./upload.sh out/*
|
2017-05-04 11:40:28 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- # Do not build tags that we create when we upload to GitHub Releases
|
|
|
|
- /^(?i:continuous)$/
|
|
|
|
|