From b8892c5f66aeb6dfb685234f3bbe43db8b541160 Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Mon, 16 Sep 2024 23:31:40 -0300 Subject: [PATCH] Missing code... --- .github/workflows/build.yml | 46 ++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08a3d38bc..1eda4d389 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -141,6 +141,17 @@ jobs: arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" arch -x86_64 /usr/local/bin/brew install molten-vk + - name: Cache CMake dependency source code + uses: actions/cache@v4 + env: + cache-name: ${{ runner.os }}-sdl-cache-cmake-dependency-sources + with: + path: | + ${{github.workspace}}/build + key: ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} + restore-keys: | + ${{ env.cache-name }}- + - name: Cache CMake dependency build objects uses: hendrikmuhs/ccache-action@v1.2.14 env: @@ -192,6 +203,17 @@ jobs: target: desktop arch: clang_64 archives: qtbase qttools + + - name: Cache CMake dependency source code + uses: actions/cache@v4 + env: + cache-name: ${{ runner.os }}-qt-cache-cmake-dependency-sources + with: + path: | + ${{github.workspace}}/build + key: ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} + restore-keys: | + ${{ env.cache-name }}- - name: Cache CMake dependency build objects uses: hendrikmuhs/ccache-action@v1.2.14 @@ -231,6 +253,17 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libfuse2 clang build-essential + - name: Cache CMake dependency source code + uses: actions/cache@v4 + env: + cache-name: ${{ runner.os }}-sdl-cache-cmake-dependency-sources + with: + path: | + ${{github.workspace}}/build + key: ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} + restore-keys: | + ${{ env.cache-name }}- + - name: Cache CMake dependency build objects uses: hendrikmuhs/ccache-action@v1.2.14 env: @@ -276,6 +309,17 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libfuse2 clang build-essential qt6-base-dev qt6-tools-dev + - name: Cache CMake dependency source code + uses: actions/cache@v4 + env: + cache-name: ${{ runner.os }}-qt-cache-cmake-dependency-sources + with: + path: | + ${{github.workspace}}/build + key: ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} + restore-keys: | + ${{ env.cache-name }}- + - name: Cache CMake dependency build objects uses: hendrikmuhs/ccache-action@v1.2.14 env: @@ -331,4 +375,4 @@ jobs: draft: false prerelease: true artifacts: | - ./artifacts/*.zip \ No newline at end of file + ./artifacts/*.zip