actions: don't use ccache direct mode (#892)

Conditional inclusion based on what files are available is the
one edge case that doesn't work in direct mode.
This commit is contained in:
Dennis Brakhane
2024-07-18 19:26:30 +02:00
committed by GitHub
parent 7ba00d2692
commit f29495838a
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -63,14 +63,14 @@ jobs:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
make -j$(nproc)
CCACHE_NODIRECT=1 make -j$(nproc)
echo "---Generating Shader Dump---"
cd WickedEngine
./offlineshadercompiler spirv rebuild shaderdump
mv wiShaderDump.h ../../WickedEngine/
cd ..
echo "---Rebuilding with ShaderDump---"
make -B -j $(nproc)
CCACHE_NODIRECT=1 make -B -j $(nproc)
- name: Move files
run: |
+2 -2
View File
@@ -62,14 +62,14 @@ jobs:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
make -j$(nproc)
CCACHE_NODIRECT=1 make -j$(nproc)
echo "---Generating Shader Dump---"
cd WickedEngine
./offlineshadercompiler spirv rebuild shaderdump
mv wiShaderDump.h ../../WickedEngine/
cd ..
echo "---Rebuilding with ShaderDump---"
make -B -j $(nproc)
CCACHE_NODIRECT=1 make -B -j $(nproc)
- name: Move binaries
+2 -2
View File
@@ -64,14 +64,14 @@ jobs:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
make -j$(nproc)
CCACHE_NODIRECT=1 make -j$(nproc)
echo "---Generating Shader Dump---"
cd WickedEngine
./offlineshadercompiler spirv rebuild shaderdump
mv wiShaderDump.h ../../WickedEngine/
cd ..
echo "---Rebuilding with ShaderDump---"
make -B -j $(nproc)
CCACHE_NODIRECT=1 make -B -j $(nproc)
- name: Move files