From fb718a7b814cca35398b20f676b9faf7c0e771b5 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Thu, 4 Apr 2024 19:49:17 +0200 Subject: [PATCH] Pin cmake version to 3.29.0 Intermittent problems with 3.29.1 https://github.com/microsoft/vcpkg/issues/37968#issuecomment-2037815125 --- .github/workflows/android.yml | 2 ++ .github/workflows/ios.yml | 5 +++++ .github/workflows/linux.yml | 3 ++- .github/workflows/macos.yml | 4 ++++ .github/workflows/windows.yml | 2 ++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4591843c00..6de7a81a9a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -95,6 +95,8 @@ jobs: - name: 🐩 Install CMake and Ninja uses: lukka/get-cmake@latest + with: + cmakeVersion: 3.29.0 - name: 🔨 Prepare build env run: | diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 9649c9386c..bc68df616c 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -66,6 +66,11 @@ jobs: echo $(brew --prefix gettext)/bin >> $GITHUB_PATH echo $(brew --prefix autoconf-archive)/bin >> $GITHUB_PATH + - name: 🐩 Install CMake and Ninja + uses: lukka/get-cmake@latest + with: + cmakeVersion: 3.29.0 + - name: 🍭 Setup XCode uses: maxim-lobanov/setup-xcode@v1.6.0 with: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4d6b1afe18..d30ec419ec 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,7 +9,6 @@ on: release: types: ['published'] - jobs: build: name: build (linux) @@ -39,6 +38,8 @@ jobs: - name: 🐩 Install CMake and Ninja uses: lukka/get-cmake@latest + with: + cmakeVersion: 3.29.0 - name: 🔨 Prepare build env run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 931630492e..cdd5403b2f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -72,6 +72,10 @@ jobs: echo $(brew --prefix flex)/bin >> $GITHUB_PATH echo $(brew --prefix libtool)/bin >> $GITHUB_PATH + - name: 🐩 Install CMake and Ninja + uses: lukka/get-cmake@latest + with: + cmakeVersion: 3.29.0 - name: 🍭 Setup XCode uses: maxim-lobanov/setup-xcode@v1.6.0 with: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bc848485a5..a6d147796f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -32,6 +32,8 @@ jobs: - name: 🐩 Install CMake and Ninja uses: lukka/get-cmake@latest + with: + cmakeVersion: 3.29.0 - name: 🧽 Developer Command Prompt for Microsoft Visual C++ uses: ilammy/msvc-dev-cmd@v1