forked from godotengine/godot-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vano
committed
May 3, 2024
1 parent
4dd4c6a
commit b5df024
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
- name: CMake | ||
generate_sources: | | ||
cmake {0} -DCMAKE_BUILD_TYPE=Debug -B build test | ||
cmake {0} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -B build test | ||
build_godot_cpp_debug: | | ||
cmake --build build --config Debug --target godot-cpp | ||
|
@@ -51,7 +51,7 @@ jobs: | |
cmake --build build --config Debug | ||
build_release: | | ||
cmake {0} -DCMAKE_BUILD_TYPE=Release -DTARGET=TEMPLATE_RELEASE -B build_release test | ||
cmake {0} -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DTARGET=TEMPLATE_RELEASE -B build_release test | ||
cmake --build build_release --config Release | ||
platforms: | ||
|
@@ -214,6 +214,12 @@ jobs: | |
if: ${{ matrix.builder.name == 'CMake' }} | ||
uses: ssrobins/install-cmake@v1 | ||
|
||
- name: Install ccache | ||
if: ${{ matrix.builder.name == 'CMake' }} | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ matrix.platforms.cache-name }} | ||
|
||
- name: Install Ninja | ||
if: ${{ matrix.builder.name == 'CMake' }} | ||
uses: ashutoshvarma/setup-ninja@master | ||
|