Skip to content

Commit

Permalink
Add CI builds for std::filesystem option
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingcom committed Aug 2, 2020
1 parent a1bc133 commit 7831cbf
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .travis.yml
Expand Up @@ -14,6 +14,20 @@ jobs:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: linux
dist: focal
compiler: "gcc"
sudo: true
env:
- WITH_STD_FILESYSTEM=1
before_install:
- |-
sudo rm -rf /usr/local/cmake-3.12.4
sudo apt-get install cmake ninja-build
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DARMIPS_USE_STD_FILESYSTEM=1 CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: linux
dist: focal
compiler: "clang"
Expand All @@ -39,12 +53,37 @@ jobs:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: mac
compiler: "clang"
osx_image: xcode11.6
env:
- WITH_STD_FILESYSTEM=1
before_install:
- brew install ninja
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_cache:
- brew cleanup
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DARMIPS_USE_STD_FILESYSTEM=1 CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: windows
compiler: "msvc2017"
script:
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 CMakeLists.txt
- cmake --build . --config Release
- ctest -C Release --output-on-failure
- os: windows
compiler: "msvc2017"
env:
- WITH_STD_FILESYSTEM=1
script:
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DARMIPS_USE_STD_FILESYSTEM=1 CMakeLists.txt
- cmake --build . --config Release
- ctest -C Release --output-on-failure
- os: windows
compiler: "msvc2019"
env:
Expand Down

0 comments on commit 7831cbf

Please sign in to comment.