Travis: Create a build matrix
This commit is contained in:
21
.travis.yml
21
.travis.yml
@@ -13,8 +13,14 @@ os:
|
|||||||
# - osx
|
# - osx
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
- LINT=true
|
||||||
|
- BUILD=true CONFIG=debug
|
||||||
|
- BUILD=true CONFIG=release
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
# LLVMGold.so is not installed correctly
|
||||||
|
- env: CONFIG=release
|
||||||
|
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
@@ -45,15 +51,14 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
# Run linter.
|
# Run linter.
|
||||||
- ./xenia-build lint --all
|
- if [[ $LINT == true ]]; then ./xenia-build lint --all; fi
|
||||||
# Run style checker.
|
|
||||||
#- ./xenia-build style
|
|
||||||
# Build and run our simple hello world test.
|
# Build and run our simple hello world test.
|
||||||
- ./xenia-build build --config=debug --target=xenia-base-tests
|
- if [[ $BUILD == true ]]; then ./xenia-build build --config=debug --target=xenia-base-tests; fi
|
||||||
- ./build/bin/Linux/Debug/xenia-base-tests
|
- if [[ $BUILD == true ]]; then ./build/bin/Linux/Debug/xenia-base-tests; fi
|
||||||
# Build and run ppc tests
|
# Build and run ppc tests
|
||||||
- ./xenia-build build --config=debug --target=xenia-cpu-ppc-tests
|
- if [[ $BUILD == true ]]; then ./xenia-build build --config=debug --target=xenia-cpu-ppc-tests; fi
|
||||||
# - ./build/bin/Linux/Debug/xenia-cpu-ppc-tests --log_file=stdout
|
# - if [[ $BUILD == true ]]; then ./build/bin/Linux/Debug/xenia-cpu-ppc-tests --log_file=stdout; fi
|
||||||
|
|
||||||
# TODO(DrChat): Enable builds in the future.
|
# TODO(DrChat): Enable builds in the future.
|
||||||
# Build all of xenia.
|
# Build all of xenia.
|
||||||
|
|||||||
Reference in New Issue
Block a user