-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add continuous integration test, Travis-CI
- Loading branch information
1 parent
cb1b4ad
commit 28384bf
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
dist: xenial | ||
sudo: required | ||
language: | ||
- c | ||
compiler: | ||
- gcc | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- cmake | ||
- gcc-multilib | ||
- g++-multilib | ||
|
||
before_install: | ||
# needed for compiling 32bit software on 64bit machine | ||
- sudo apt-get install gcc-multilib g++-multilib cppcheck | ||
|
||
script: | ||
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib32/:/usr/lib/gcc/x86_64-linux-gnu/7/x32/ | ||
- ls /usr/lib32/ | ||
# Check versions of gcc, g++ and cmake | ||
- gcc -v && g++ -v && cmake --version | ||
# Run your build commands next | ||
- git submodule init | ||
- git submodule update | ||
- cp cfe/cmake/Makefile.sample Makefile | ||
- cp -r cfe/cmake/sample_defs sample_defs | ||
- cppcheck --force . | ||
- make prep | ||
- make | ||
- make install | ||
- ls build/exe/cpu1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters