From 9b41179bccd033fa70e0387ceb1048337e73748e 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..4b315f5 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: | + pip 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 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