From a1d5cabd52d2c6cc361f2a7b9f0968a093a71f07 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Tue, 9 Apr 2024 15:10:53 +0300 Subject: [PATCH] Pin CMake to 3.29.0. --- .github/workflows/build-rtools40.yml | 5 +++++ .../workflows/build-ubuntu20.04-backwards-compatibility.yml | 6 ++++++ .github/workflows/build-windows.yml | 6 ++++++ .github/workflows/ci-linux_mac.yml | 6 ++++++ .github/workflows/nightly-test.yml | 6 ++++++ .github/workflows/release.yml | 5 +++++ .github/workflows/unit-test-runs.yml | 6 ++++++ 7 files changed, 40 insertions(+) diff --git a/.github/workflows/build-rtools40.yml b/.github/workflows/build-rtools40.yml index 13ed0ed6213..5fe46e4eb38 100644 --- a/.github/workflows/build-rtools40.yml +++ b/.github/workflows/build-rtools40.yml @@ -22,6 +22,11 @@ jobs: shell: bash run: | echo "ref=$(grep -oP '(?<=set\(VCPKG_COMMIT_STRING )\w*' cmake/Options/TileDBToolchain.cmake | head -n 1)" >> "$GITHUB_OUTPUT" + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 # We clone vcpkg ourselves because having FetchContent do it inside # the build directory causes compilation errors due to long paths. - name: Checkout vcpkg repository diff --git a/.github/workflows/build-ubuntu20.04-backwards-compatibility.yml b/.github/workflows/build-ubuntu20.04-backwards-compatibility.yml index 51c0670bb4b..04bd79e7b75 100644 --- a/.github/workflows/build-ubuntu20.04-backwards-compatibility.yml +++ b/.github/workflows/build-ubuntu20.04-backwards-compatibility.yml @@ -19,6 +19,12 @@ jobs: steps: - uses: actions/checkout@v3 + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 + - name: 'Print env' run: ./scripts/ci/posix/print-env.sh shell: bash diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 0fb5879d53a..6e0641a7ac3 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -141,6 +141,12 @@ jobs: submodules: true fetch-depth: 0 + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 + - name: Prevent vcpkg from building debug variants run: python $env:GITHUB_WORKSPACE/scripts/ci/patch_vcpkg_triplets.py diff --git a/.github/workflows/ci-linux_mac.yml b/.github/workflows/ci-linux_mac.yml index 0b9dd95d609..6cf9d264a63 100644 --- a/.github/workflows/ci-linux_mac.yml +++ b/.github/workflows/ci-linux_mac.yml @@ -85,6 +85,12 @@ jobs: submodules: true fetch-depth: 0 + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 + # Configure required environment variables for vcpkg to use # GitHub's Action Cache - uses: actions/github-script@v6 diff --git a/.github/workflows/nightly-test.yml b/.github/workflows/nightly-test.yml index d53b0d50faf..b2a05b06b04 100644 --- a/.github/workflows/nightly-test.yml +++ b/.github/workflows/nightly-test.yml @@ -40,6 +40,12 @@ jobs: - name: Checkout TileDB `dev` uses: actions/checkout@v3 + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 + - name: Configure TileDB CMake (not-Windows) if: ${{ ! contains(matrix.os, 'windows') }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e41069f419f..21ffff3e9e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,6 +74,11 @@ jobs: - name: Checkout TileDB # v4 uses node 20 which is incompatible with the libc version of the manylinux image uses: actions/checkout@v3 + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 - name: 'Homebrew setup' run: brew install automake pkg-config if: ${{ startsWith(matrix.os, 'macos-') == true }} diff --git a/.github/workflows/unit-test-runs.yml b/.github/workflows/unit-test-runs.yml index 2c17b2dd667..a0130743f88 100644 --- a/.github/workflows/unit-test-runs.yml +++ b/.github/workflows/unit-test-runs.yml @@ -27,6 +27,12 @@ jobs: run: brew install automake pkg-config if: ${{ startsWith(matrix.os, 'macos-') == true }} + # Temporary workaround to fix configuration errors with libwebp. + - name: Setup CMake 3.29.0 + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: 3.29.0 + # Configure required environment variables for vcpkg to use # GitHub's Action Cache - uses: actions/github-script@v6