mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-03 22:16:09 +00:00
Add ccache
This commit is contained in:
parent
06a64af1f4
commit
63dd0e1a60
4 changed files with 44 additions and 13 deletions
8
.github/workflows/test-sanitizers.yml
vendored
8
.github/workflows/test-sanitizers.yml
vendored
|
|
@ -60,13 +60,19 @@ jobs:
|
|||
get-test-deps: true
|
||||
get-iverilog: true
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||
with:
|
||||
key: test-san-${{ matrix.os }}
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
rm -rf build
|
||||
cmake -B build . \
|
||||
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
|
||||
-DCMAKE_BUILD_TYPE=Sanitize -DSANITIZE=${{ matrix.sanitizer }}
|
||||
-DCMAKE_BUILD_TYPE=Sanitize -DSANITIZE=${{ matrix.sanitizer }} \
|
||||
-DYOSYS_COMPILER_LAUNCHER=ccache
|
||||
cmake --build build -j$procs
|
||||
|
||||
- name: Log yosys-config output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue