Skip to content

Commit

Permalink
CMake: Make Travis work
Browse files Browse the repository at this point in the history
  • Loading branch information
ataulien committed Dec 18, 2018
1 parent 1713115 commit 327a1f2
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,34 @@ matrix:
- g++-6
- zlib1g-dev
- valgrind
- ninja-build
- git

# OSX
- os: osx
allow_failures:
- os: osx

install:
# Build mrustc
- make RUSTCSRC
- make -j 2
- make -C tools/minicargo
#install:
# Build mrustc
#- make RUSTCSRC
#- make -j 2
#- make -C tools/minicargo

script:
- set -e
- make -f minicargo.mk output/libtest.hir # libstd
- make test # hello_world
- git status
# - set -e
- mkdir build
- cd build
- cmake ..
- make mrustc -j4
- make minicargo -j4
# Test
# - make -f minicargo.mk output/libtest.hir # libstd
# - make test # hello_world
# Tests
- set +e
- make local_tests -k
# - set +e
# - make local_tests -k
# - CC=gcc-6 make rust_tests -k
# rustc (DISABLED: llvm build)
# - make -f minicargo.mk output/rustc
Expand Down

0 comments on commit 327a1f2

Please sign in to comment.