Skip to content

Commit

Permalink
test without cmake options
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Sep 11, 2023
1 parent 095d3e2 commit 788d228
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,17 @@ jobs:
ln -s /usr/bin/ccache /usr/local/bin/cc
ln -s /usr/bin/ccache /usr/local/bin/c++
- name: Zero ccache statistics
run: ccache -z

- name: is ccache used?
run: which gcc; ls -l /usr/local/bin/{gcc,g++,cc,c++}

- name: Configure cmake
run: cmake -S . -B build -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
run: cmake -S . -B build # -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache

- name: Build dnf5
run: cmake --build build

- name: Display ccache statistics
run: ccache -s

0 comments on commit 788d228

Please sign in to comment.