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
687997c4
Commit
687997c4
authored
May 08, 2019
by
Marcus Geelnard
Committed by
m
Aug 09, 2019
Browse files
Travis: Add a MinGW cross compilation test
parent
173f16ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
687997c4
...
@@ -56,3 +56,20 @@ script:
...
@@ -56,3 +56,20 @@ script:
-
cmake .. ${EXTRA_CMAKE_OPTS}
-
cmake .. ${EXTRA_CMAKE_OPTS}
-
make VERBOSE=1
-
make VERBOSE=1
-
ctest -V
-
ctest -V
matrix
:
include
:
# Windows MinGW cross compile on Linux
-
os
:
linux
dist
:
xenial
compiler
:
mingw
addons
:
apt
:
packages
:
-
ninja-build
-
gcc-mingw-w64-x86-64
-
g++-mingw-w64-x86-64
script
:
-
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
-
ninja -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