4 Commits

Author SHA1 Message Date
TheAssassin b7a2e39ba2 Try to build for arm64, mk. 4 2019-12-03 02:04:02 +01:00
TheAssassin d9acb6b244 Try to build for arm64, mk. 3 2019-12-03 01:50:59 +01:00
TheAssassin 891359edf4 Try to build for arm64, mk. 2 2019-12-03 01:47:18 +01:00
TheAssassin f68f8b94e0 Try to build for arm64, mk. 1 2019-12-03 01:38:28 +01:00
2 changed files with 34 additions and 0 deletions
+32
View File
@@ -25,6 +25,37 @@ matrix:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh linuxdeploy-"$ARCH".AppImage*
- name: Ubuntu bionic arm64 build
env: ARCH=arm64 BUILD_TYPE=arm64-native
dist: bionic
arch: arm64
addons:
apt:
update: true
packages:
- libmagic-dev
- libjpeg-dev
- libpng-dev
- cimg-dev
- patchelf
before_script:
- git clone https://github.com/NixOS/patchelf.git && \
- pushd patchelf && \
- # cannot use -b since it's not supported in really old versions of git
- git checkout 0.8 && \
- ./bootstrap.sh && \
- ./configure --prefix=/usr && \
- make -j $(nproc) && \
- make install && \
- popd && \
- rm -r patchelf/
script: travis/build.sh
after_success:
- if [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ] && [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh linuxdeploy-"$ARCH".AppImage*
- name: Ubuntu xenial x86_64 coverage build (no binaries uploaded)
env: ARCH=x86_64 BUILD_TYPE=coverage
dist: xenial
@@ -60,6 +91,7 @@ matrix:
script: travis/test-coverage.sh
after_success: true # also, we don't intend to upload release binaries
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
+2
View File
@@ -30,6 +30,8 @@ if [ "$ARCH" == "x86_64" ]; then
EXTRA_CMAKE_ARGS=()
elif [ "$ARCH" == "i386" ]; then
EXTRA_CMAKE_ARGS=("-DCMAKE_TOOLCHAIN_FILE=$REPO_ROOT/cmake/toolchains/i386-linux-gnu.cmake" "-DUSE_SYSTEM_CIMG=OFF")
elif [ "$ARCH" == "arm64" ] && [ "$BUILD_TYPE" == "arm64-native" ]; then
EXTRA_CMAKE_ARGS=()
else
echo "Architecture not supported: $ARCH" 1>&2
exit 1