Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
bbbafc53
Commit
bbbafc53
authored
May 08, 2019
by
Marcus Geelnard
Committed by
m
Aug 09, 2019
Browse files
Travis: Add a Windows MSVC 2017 compilation test
parent
687997c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
bbbafc53
...
@@ -73,3 +73,19 @@ matrix:
...
@@ -73,3 +73,19 @@ matrix:
-
mkdir build && cd build
-
mkdir build && cd build
-
CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=on
-
CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=on
-
ninja -v
-
ninja -v
# Windows MSVC 2017
-
os
:
windows
compiler
:
msvc
env
:
-
MATRIX_EVAL="CC=cl.exe && CXX=cl.exe"
before_install
:
-
eval "${MATRIX_EVAL}"
install
:
-
choco install ninja
script
:
-
mkdir build && cd build
-
cmd.exe /C '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64 &&
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release &&
ninja -v'
-
ctest -V
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment