Skip to content

Commit 3b5011e

Browse files
committed
Pin CMake versions in basemap-for-windows workflow
For some reason, the target architecture is not identified properly when using CMake to build, and it leaves it to a fixed value no matter the requested target from the user. For this reason, I set for each target architecture one specific version of CMake that works.
1 parent 83cea52 commit 3b5011e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/basemap-for-windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
build-geos:
1313
strategy:
1414
matrix:
15-
arch:
16-
[
17-
"x64",
18-
"x86",
19-
]
15+
include:
16+
- arch: "x64"
17+
cmake-version: "3.14.7"
18+
- arch: "x86"
19+
cmake-version: "3.13.2"
2020
max-parallel: 2
2121
fail-fast: false
2222
runs-on: windows-latest
@@ -39,7 +39,7 @@ jobs:
3939
name: Install CMake
4040
uses: jwlawson/[email protected]
4141
with:
42-
cmake-version: "3.13.x"
42+
cmake-version: ${{ matrix.cmake-version }}
4343
-
4444
name: Build GEOS from source
4545
run: |

0 commit comments

Comments
 (0)