Skip to content

Commit e76960d

Browse files
[CI] Improved Compatibility Build Speed
The compatibility builds do not run any tests. As such, they do not need to use compiler optimizations or IPO. By turning these features off, we should be able to speed up the compilation process on these builds.
1 parent 29cc58d commit e76960d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,9 @@ jobs:
515515

516516
- name: Test
517517
env:
518-
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_ODIN=on"
518+
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DWITH_ODIN=on -DVTR_IPO_BUILD=off"
519519
MATRIX_EVAL: ${{ matrix.eval }}
520-
BUILD_TYPE: release
520+
BUILD_TYPE: debug
521521
NUM_PROC: ${{ steps.cpu-cores.outputs.count }}
522522
run: |
523523
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
@@ -548,7 +548,7 @@ jobs:
548548
env:
549549
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_IPO_BUILD=off"
550550
MATRIX_EVAL: 'CC=gcc-11 && CXX=g++-11'
551-
BUILD_TYPE: release
551+
BUILD_TYPE: debug
552552
NUM_PROC: ${{ steps.cpu-cores.outputs.count }}
553553
run: |
554554
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"

0 commit comments

Comments
 (0)