diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-02-14 00:32:08 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-02-14 00:46:06 +0100 |
commit | c8bc89d0fa93937a6729a95fa04c3c011bc749d4 (patch) | |
tree | f776821112de5b170a3a397bbd2d94dd18b28f8a /.ci/script.sh | |
parent | Merge pull request #114 from adasauce/image-overlay-fix (diff) | |
download | nheko-c8bc89d0fa93937a6729a95fa04c3c011bc749d4.tar.xz |
try out flatpak nightly build
Diffstat (limited to '.ci/script.sh')
-rwxr-xr-x | .ci/script.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.ci/script.sh b/.ci/script.sh index 0c6e3746..9438a652 100755 --- a/.ci/script.sh +++ b/.ci/script.sh @@ -2,6 +2,19 @@ set -ex +if [ "$FLATPAK" ]; then + mkdir -p build-flatpak + cd build-flatpak + + flatpak-builder --ccache --repo=repo --subject="Build of Nheko ${VERSION} `date`" app ../io.github.NhekoReborn.Nheko.json + flatpak build-bundle repo nheko-${VERSION}-${ARCH}.flatpak io.github.NhekoReborn.Nheko 0.7.0-dev + + mkdir ../artifacts + mv nheko-*.flatpak ../artifacts + + exit +fi + if [ "$TRAVIS_OS_NAME" = "linux" ]; then # make build use all available cores export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l) |