Skip to content

Commit

Permalink
Adjust Travis and GH Actions to build with CMAKE_BUILD_TYPE=RelWithDe…
Browse files Browse the repository at this point in the history
…bInfo
  • Loading branch information
evgenyz committed Nov 13, 2020
1 parent 88bd892 commit fc4b300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Build
run: |
cd $GITHUB_WORKSPACE/build
cmake -DCMAKE_BUILD_TYPE=Debug ../
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../
make all
- name: Test
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Build
run: |
cd $GITHUB_WORKSPACE/build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_PROBES=false ../
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_PROBES=false ../
make all
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ matrix:
before_script:
- cd build
script:
- cmake -DCMAKE_BUILD_TYPE=Debug ../
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../
- build-wrapper-linux-x86-64 --out-dir bw-output make all || make all # build-wrapper won't work on forked repositories.
- ctest --output-on-failure
- (cd .. && sonar-scanner) || true # Will always fail builds on forked repositories.
Expand All @@ -50,7 +50,7 @@ matrix:
before_script:
- cd build
script:
- cmake -DENABLE_PROBES=false ../
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_PROBES=false ../
- make -j 4

addons:
Expand Down

0 comments on commit fc4b300

Please sign in to comment.