aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/.travis.yml
blob: 657cbbf7e654576e3f481149d254959379528b94 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



             





                 

         
                                 
         



                                        
 
              






                                                                                          

       







                                                                                        
language: cpp
os: linux
dist: bionic

addons:
  apt:
    update: true
    packages:
      - mingw-w64

env:
  global:
    - travis_boost_version=1.71.0
  matrix:
    - configuration=Debug   platform=x86
    - configuration=Release platform=x86
    - configuration=Debug   platform=x64
    - configuration=Release platform=x64

before_script:
  - |-
    ./cmake/build/boost/build_travis.sh \
        target-os=windows               \
        --user-config="$TRAVIS_BUILD_DIR/cmake/toolchains/boost/mingw-w64-$platform.jam" \
        --with-filesystem               \
        --with-program_options          \
        --with-system

script:
  - |-
    ./cmake/build/build_travis.py                                  \
        --configuration "$configuration"                           \
        --install "$HOME/install"                                  \
        --boost "$HOME/boost_1_71_0"                               \
        --toolchain "./cmake/toolchains/mingw-w64-$platform.cmake" \
        --boost-librarydir "$HOME/boost_1_71_0/stage/$platform/${configuration,,}/lib" \
        -- -DCMAKE_SYSTEM_NAME=Windows