mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
travis: Fixups for new build system
This commit is contained in:
parent
37afdf9095
commit
aa122e0366
28
.travis.yml
28
.travis.yml
@ -5,15 +5,13 @@ matrix:
|
||||
- os: linux
|
||||
dist: xenial
|
||||
sudo: required
|
||||
env: DEPLOY_FILE=wut.7z
|
||||
env: DEPLOY_FILE=wut-*.tar.bz2
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- sourceline: 'ppa:cginternals/backports-ppa'
|
||||
packages:
|
||||
- p7zip-full
|
||||
|
||||
cache:
|
||||
directories:
|
||||
@ -33,26 +31,20 @@ install:
|
||||
script:
|
||||
- cd "$TRAVIS_BUILD_DIR"
|
||||
# Build wut
|
||||
- mkdir build && cd build
|
||||
- cmake -DCMAKE_INSTALL_PREFIX=wut_install ../
|
||||
- make -j4 install
|
||||
- make -j4 install DESTDIR=wut_install
|
||||
- export WUT_ROOT=$PWD/wut_install
|
||||
- cd ../
|
||||
# Build tests
|
||||
- cd tests
|
||||
- mkdir build && cd build
|
||||
- cmake ../
|
||||
- make -j4 VERBOSE=TRUE
|
||||
- cd ../../
|
||||
- echo Tests disabled for now
|
||||
# - cd tests
|
||||
# - mkdir build && cd build
|
||||
# - cmake ../
|
||||
# - make -j4 VERBOSE=TRUE
|
||||
# - cd ../../
|
||||
# Build samples
|
||||
- cd samples
|
||||
- mkdir build && cd build
|
||||
- cmake -DCMAKE_INSTALL_PREFIX=$WUT_ROOT/samples ../
|
||||
- make -j4 VERBOSE=TRUE install
|
||||
- cd samples/make
|
||||
- make -j4
|
||||
- cd ../../
|
||||
# Create deploy zips
|
||||
- cd $WUT_ROOT
|
||||
- 7z a $DEPLOY_FILE .
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
|
Loading…
Reference in New Issue
Block a user