diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 3e1f0d2a..b9c444fe 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -37,7 +37,12 @@ jobs: - name: Set up vcpkg shell: bash run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + vcpkg fetch ninja + + - name: Set up vcpkg + shell: bash + run: | + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" - name: Configure (cmake --preset) shell: bash run: cmake --preset linux-release-vcpkg -DOMATH_BUILD_TESTS=ON -DOMATH_BUILD_BENCHMARK=OFF -DVCPKG_MANIFEST_FEATURES="imgui;avx2;tests" @@ -129,7 +134,7 @@ jobs: name: macOS (AppleClang) (arm64-osx) runs-on: macOS-latest env: - VCPKG_ROOT: ${{ github.workspace }}/vcpkg + VCPKG_ROOT: "/usr/local/share/vcpkg" steps: - name: Install basic tool-chain with Homebrew shell: bash @@ -144,8 +149,8 @@ jobs: - name: Set up vcpkg shell: bash run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" - + vcpkg fetch ninja + - name: Configure (cmake --preset) shell: bash run: cmake --preset darwin-release-vcpkg -DOMATH_BUILD_TESTS=ON -DOMATH_BUILD_BENCHMARK=OFF -DVCPKG_MANIFEST_FEATURES="imgui;avx2;tests" @@ -180,7 +185,7 @@ jobs: - name: Set up vcpkg shell: bash run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" ./bootstrap-vcpkg.sh @@ -224,7 +229,7 @@ jobs: # This prevents PCH timestamp mismatches during parallel builds export VCPKG_ROOT=/tmp/vcpkg rm -rf "$VCPKG_ROOT" - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" # Bootstrap vcpkg - it will build from source on FreeBSD # Building in /tmp avoids sshfs timestamp issues that break PCH @@ -273,7 +278,7 @@ jobs: - name: Set up vcpkg shell: bash run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" ./bootstrap-vcpkg.sh @@ -327,7 +332,7 @@ jobs: - name: Set up vcpkg shell: bash run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" ./bootstrap-vcpkg.sh @@ -380,7 +385,7 @@ jobs: - name: Set up vcpkg run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" ./bootstrap-vcpkg.sh @@ -435,7 +440,7 @@ jobs: - name: Set up vcpkg run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" ./bootstrap-vcpkg.sh @@ -490,7 +495,7 @@ jobs: - name: Set up vcpkg run: | - git clone --branch 2025.12.12 --single-branch https://github.com/microsoft/vcpkg "$VCPKG_ROOT" + git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT" cd "$VCPKG_ROOT" ./bootstrap-vcpkg.sh