From 1613aef7bd04cf2db68e4298142a9bf6002c6914 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Thu, 11 Apr 2024 14:19:38 +0200 Subject: [PATCH] pin cmake version to <3.29 due to dune cmake issue for cmake >=3.29 --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 444d163..3e8feb7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,19 @@ jobs: shell: ${{ matrix.shell }} steps: - uses: spatial-model-editor/setup-ci@v1 + - if: runner.os == 'Linux' + run: | + pip install "cmake<3.29" + cmake --version + - if: runner.os == 'macOS' + run: | + brew install "cmake<3.29" + cmake --version + - if: runner.os == 'Windows' + run: | + wget https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-ccmake-3.28.3-2-any.pkg.tar.zst + pacman -U --noconfirm mingw-w64-ucrt-x86_64-ccmake-3.28.3-2-any.pkg.tar.zst + cmake --version - uses: actions/checkout@v4 - name: Build script run: ./build.sh