From 69f3115df4ff60fdef28408eb89d1b505633fcb4 Mon Sep 17 00:00:00 2001 From: cbdev Date: Tue, 17 Sep 2019 22:17:43 +0200 Subject: Add windows build to CI --- .travis-ci.sh | 5 +++++ .travis.yml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) 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 @@ -69,6 +73,16 @@ matrix: - *core_build_gpp_latest sources: - 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 -- cgit v1.2.3