From cdc6979458715123ddaf8d2e59918e23a5f920d0 Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 24 Jul 2025 00:08:44 -0500 Subject: [PATCH] ci: add cache vcpkg step, remove ineffective apt pkgs --- .github/workflows/build.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a69bdc8..a91054d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,11 +40,19 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 + - name: Cache vcpkg + uses: actions/cache@v4 + with: + path: target/vcpkg + key: ${{ runner.os }}-vcpkg-${{ hashFiles('Cargo.toml', 'Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-vcpkg- + - name: Vcpkg Linux Dependencies if: runner.os == 'Linux' run: | sudo apt-get update - sudo apt-get install -y build-essential autoconf automake libtool pkg-config gettext m4 libtool libltdl-dev + sudo apt-get install -y build-essential gettext libltdl-dev - name: Vcpkg run: |