Skip to content

Commit f7c8e01

Browse files
Trying something else.
1 parent bb22219 commit f7c8e01

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ jobs:
620620
# We also do not include GCC-11 since it is tested in the JammyCompatibility test.
621621
name: 'B: ${{ matrix.name }}'
622622
env:
623-
CC: ccache ${{ matrix.CC }}
624-
CXX: ccache ${{ matrix.CXX }}
623+
CC: ${{ matrix.CC }}
624+
CXX: ${{ matrix.CXX }}
625625
steps:
626626

627627
- uses: actions/checkout@v4
@@ -652,8 +652,8 @@ jobs:
652652
runs-on: ubuntu-22.04
653653
needs: [BuildVTR]
654654
env:
655-
CC: ccache gcc-11
656-
CXX: ccache g++-11
655+
CC: gcc-11
656+
CXX: g++-11
657657
steps:
658658
- uses: actions/checkout@v4
659659
with:
@@ -669,12 +669,11 @@ jobs:
669669
- uses: hendrikmuhs/[email protected]
670670
with:
671671
key: ${{ github.job }}-gcc-11
672-
create-symlink: true
673672
verbose: 1
674673

675674
- name: Build
676675
env:
677-
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_IPO_BUILD=off"
676+
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_IPO_BUILD=off -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache"
678677
BUILD_TYPE: debug # Note: We use the debug build here to make the build time faster since we do not care about run time.
679678
run: |
680679
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"

0 commit comments

Comments
 (0)