-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jiaxun Yang <[email protected]>
- Loading branch information
Showing
5 changed files
with
35 additions
and
19 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
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 |
---|---|---|
@@ -1,13 +1,27 @@ | ||
language: cpp | ||
|
||
compiler: | ||
- gcc | ||
- clang | ||
matrix: | ||
include: | ||
- name: "Linux Build" | ||
os: linux | ||
dist: xenial | ||
addons: | ||
apt: | ||
packages: | ||
- cmake | ||
- libpci3 | ||
- libpci-dev | ||
before_script: | ||
- mkdir build && cd build | ||
- cmake .. | ||
script: | ||
- make | ||
|
||
before_script: | ||
- sudo apt-get install libpci3 libpci-dev | ||
- mkdir build | ||
- cd build | ||
- cmake .. | ||
|
||
script: make | ||
- name: "Clang Windows Build" | ||
os: windows | ||
env: | ||
- MATRIX_EVAL="CC=clang-cl && CXX=clang-cl" | ||
before_install: | ||
- eval "${MATRIX_EVAL}" | ||
script: | ||
- cmd.exe /C '.\travis-win.bat' |
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
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
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,6 @@ | ||
echo off | ||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 | ||
mkdir build | ||
cd build | ||
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release .. | ||
nmake |