From 3a342c24e3adbd00451a6850b25ed389fc8cfffd Mon Sep 17 00:00:00 2001 From: Levi Armstrong Date: Sun, 14 Apr 2024 20:49:37 -0500 Subject: [PATCH] Pin cmake version to 3.28.x for windows and mac --- .github/workflows/mac.yml | 4 ++++ .github/workflows/windows.yml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 4a15285c8c3..357ee6df6c5 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -43,6 +43,10 @@ jobs: - name: brew run: | brew install libomp cmake automake autoconf libtool gcc ninja + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: '3.28.x' - name: vcpkg build uses: johnwason/vcpkg-action@v6 with: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cbfd77be980..c09f90c101b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -26,6 +26,11 @@ jobs: with: path: target_ws/src + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: '3.28.x' + - name: vcpkg build uses: johnwason/vcpkg-action@v6 with: @@ -36,6 +41,7 @@ jobs: cache-key: ci-${{ matrix.os }} github-binarycache: true revision: 2024.01.12 + - name: configure-msvc uses: ilammy/msvc-dev-cmd@v1 with: