Update action.yaml
This commit is contained in:
parent
7eb47cbaf0
commit
f44d35681f
@ -16,6 +16,7 @@ runs:
|
|||||||
- name: Show build system information
|
- name: Show build system information
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
set -v
|
||||||
echo CMake version:
|
echo CMake version:
|
||||||
cmake --version
|
cmake --version
|
||||||
echo Ninja version:
|
echo Ninja version:
|
||||||
@ -29,14 +30,18 @@ runs:
|
|||||||
- name: Run cmake
|
- name: Run cmake
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
set -v
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -GNinja -DCMAKE_CXX_COMPILER=${{inputs.cxx}} -DCMAKE_C_COMPILER=${{inputs.cc}} -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${{inputs.build_type}} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
|
cmake .. -GNinja -DCMAKE_CXX_COMPILER=${{inputs.cxx}} -DCMAKE_C_COMPILER=${{inputs.cc}} -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${{inputs.build_type}} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
|
||||||
- name: Run ninja
|
- name: Run ninja
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
set -v
|
||||||
cd build
|
cd build
|
||||||
ninja
|
ninja
|
||||||
- name: Reduce cache size
|
- name: Reduce cache size
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ccache --evict-older-than 7d
|
run: |
|
||||||
|
set -v
|
||||||
|
ccache --evict-older-than 7d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user