mirror of
https://github.com/yuzu-emu/AppImageKit-checkrt.git
synced 2024-12-25 01:55:42 +00:00
23 lines
738 B
YAML
23 lines
738 B
YAML
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:
|
|
- mkdir -p ./out/
|
|
- 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} ; cp /AppImageKit-checkrt/exec.so out/exec-${ARCH}.so"
|
|
- ls -lh out/*
|
|
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
|
- bash ./upload.sh out/*
|
|
|
|
branches:
|
|
except:
|
|
- # Do not build tags that we create when we upload to GitHub Releases
|
|
- /^(?i:continuous)$/
|
|
|