mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-27 19:18:49 +00:00
Add ccache
This commit is contained in:
parent
06a64af1f4
commit
63dd0e1a60
4 changed files with 44 additions and 13 deletions
7
.github/workflows/test-build.yml
vendored
7
.github/workflows/test-build.yml
vendored
|
|
@ -79,11 +79,16 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
get-build-deps: true
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||
with:
|
||||
key: test-build-${{ matrix.os }}
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
rm -rf build
|
||||
cmake -B build . -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release
|
||||
cmake -B build . -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DYOSYS_COMPILER_LAUNCHER=ccache
|
||||
cmake --build build -j$procs
|
||||
ctest --test-dir build/tests/unit
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue