Skip to content

Commit 38f5978

Browse files
committed
Merge #2968: [CI] Pin CMake version to 3.31.6
02b1642 [CI] Pin CMake version to 3.31.6 (Fuzzbawls) Pull request description: GA recently pushed out a silent update to the version of CMake bundled into it's runner images that broke backwards compatibility. This pins the version of CMake used in our workflow to maintain backwards compatibility and avoid future silent breaking changes made by GA's bundled cmake version. ACKs for top commit: 02b1642 Liquid369: ACK 02b1642 Duddino: ACK 02b1642 Tree-SHA512: 268821ef48906564d94dfb26640ac1e88a86e2dd71ae1db34dcd2395b553da98f9ac8ff03e57396a21c5600e10a0f62e9d590ff15f198220e447fd1604c75576
2 parents b89a9fc + 02b1642 commit 38f5978

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ jobs:
198198
brew install "$APT_BASE" ${{ matrix.config.packages }}
199199
fi
200200
201+
- name: Setup cmake
202+
uses: jwlawson/actions-setup-cmake@v2
203+
with:
204+
cmake-version: '3.31.6'
205+
201206
- name: ccache cache files
202207
uses: actions/cache@v4
203208
with:
@@ -533,7 +538,7 @@ jobs:
533538
- name: macOS 10.12
534539
os: ubuntu-22.04
535540
host: x86_64-apple-darwin16
536-
packages: cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools xorriso libtinfo5
541+
packages: imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools xorriso libtinfo5
537542
XCODE_VERSION: 11.3.1
538543
XCODE_BUILD_ID: 11C505
539544

@@ -551,6 +556,11 @@ jobs:
551556
sudo apt-get update
552557
sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }}
553558
559+
- name: Setup cmake
560+
uses: jwlawson/actions-setup-cmake@v2
561+
with:
562+
cmake-version: '3.31.6'
563+
554564
- name: depends cache files
555565
uses: actions/cache@v4
556566
with:

0 commit comments

Comments
 (0)