aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-09-17 22:17:43 +0200
committercbdev <cb@cbcdn.com>2019-09-17 22:17:43 +0200
commit69f3115df4ff60fdef28408eb89d1b505633fcb4 (patch)
tree38d8997fce90a8a0c28021f27b7eddb4b06411c3
parent678396ed4c1a146a110cb15c7b7ad8cf3d6ef224 (diff)
downloadmidimonster-69f3115df4ff60fdef28408eb89d1b505633fcb4.tar.gz
midimonster-69f3115df4ff60fdef28408eb89d1b505633fcb4.tar.bz2
midimonster-69f3115df4ff60fdef28408eb89d1b505633fcb4.zip
Add windows build to CI
-rw-r--r--.travis-ci.sh5
-rw-r--r--.travis.yml14
2 files changed, 19 insertions, 0 deletions
diff --git a/.travis-ci.sh b/.travis-ci.sh
index ddfa93d..da36c17 100644
--- a/.travis-ci.sh
+++ b/.travis-ci.sh
@@ -71,6 +71,11 @@ elif [[ $TASK = 'sanitize' ]]; then
travis_fold start "make_sanitize"
make sanitize;
travis_fold end "make_sanitize"
+elif [[ $TASK = 'windows' ]]; then
+ # Run sanitized compile
+ travis_fold start "make_windows"
+ make windows;
+ travis_fold end "make_windows"
else
# Otherwise compile as normal
travis_fold start "make"
diff --git a/.travis.yml b/.travis.yml
index 864c628..ced21ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,10 @@ addons:
packages: &core_build_clang_latest
- *core_build
- clang-6.0
+ packages: &core_build_windows
+ - *core_build
+ - mingw-w64
+
matrix:
fast_finish: true
@@ -71,6 +75,16 @@ matrix:
- ubuntu-toolchain-r-test
- os: linux
dist: xenial
+ compiler: mingw-gcc
+ env: TASK='windows'
+ addons:
+ apt:
+ packages:
+ - *core_build_windows
+ sources:
+ - ubuntu-toolchain-r-test
+ - os: linux
+ dist: xenial
compiler: clang
env: TASK='sanitize'
addons: