mirror of
https://github.com/leozide/leocad
synced 2025-02-07 08:45:49 +01:00
Update .travis.yml
This commit is contained in:
parent
2ec01814ed
commit
497ec3b940
1 changed files with 10 additions and 0 deletions
10
.travis.yml
10
.travis.yml
|
@ -1,8 +1,13 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
arch:
|
||||||
|
- amd64
|
||||||
|
- arm64
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
arch: amd64
|
||||||
dist: trusty
|
dist: trusty
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -15,6 +20,9 @@ matrix:
|
||||||
env:
|
env:
|
||||||
- QT_BASE=48
|
- QT_BASE=48
|
||||||
- os: linux
|
- os: linux
|
||||||
|
arch:
|
||||||
|
- amd64
|
||||||
|
- arm64
|
||||||
dist: trusty
|
dist: trusty
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -27,6 +35,7 @@ matrix:
|
||||||
env:
|
env:
|
||||||
- QT_BASE=510
|
- QT_BASE=510
|
||||||
- os: osx
|
- os: osx
|
||||||
|
arch: amd64
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
- QT_BASE=57
|
- QT_BASE=57
|
||||||
|
@ -52,6 +61,7 @@ script:
|
||||||
qmake PREFIX=/usr -r
|
qmake PREFIX=/usr -r
|
||||||
make -j$(nproc); export COMPILE_RESULT=$?
|
make -j$(nproc); export COMPILE_RESULT=$?
|
||||||
if [[ "$QT_BASE" != "510" ]]; then exit $COMPILE_RESULT; fi
|
if [[ "$QT_BASE" != "510" ]]; then exit $COMPILE_RESULT; fi
|
||||||
|
if [[ "$TRAVIS_CPU_ARCH" != "amd64" ]]; then exit $COMPILE_RESULT; fi
|
||||||
make install INSTALL_ROOT=AppDir
|
make install INSTALL_ROOT=AppDir
|
||||||
if [[ "$TRAVIS_TAG" != "" ]]; then
|
if [[ "$TRAVIS_TAG" != "" ]]; then
|
||||||
wget https://github.com/leozide/leocad/releases/download/v19.07.1/Library-Linux-14384.zip -O library.zip;
|
wget https://github.com/leozide/leocad/releases/download/v19.07.1/Library-Linux-14384.zip -O library.zip;
|
||||||
|
|
Loading…
Add table
Reference in a new issue