diff options
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) |