File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 steps :
1717 - uses : actions/checkout@v4
1818
19+ - name : Authenticate git for FetchContent
20+ run : git config --global url."https://${{ github.token }}@github.com/".insteadOf "https://github.com/"
21+
1922 - name : Install CMake 3.29 (Linux)
2023 if : runner.os == 'Linux'
2124 run : |
2730 sudo apt-get update -q
2831 sudo apt-get install -y cmake
2932
33+ - name : Cache FetchContent dependencies
34+ uses : actions/cache@v4
35+ with :
36+ path : build/_deps
37+ key : deps-${{ runner.os }}-${{ hashFiles('cmake/dependencies.cmake', 'shared/CMakeLists.txt') }}
38+
3039 - name : Configure
3140 run : cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
3241
3342 - name : Build
34- run : cmake --build build --config Debug --parallel
43+ run : cmake --build build --config Debug --parallel
You can’t perform that action at this time.
0 commit comments