Skip to content

Commit

Permalink
Pin CMake to 3.29.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Apr 9, 2024
1 parent e0bc0dd commit a1d5cab
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-rtools40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-linux_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/unit-test-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1d5cab

Please sign in to comment.