File tree Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Original file line number Diff line number Diff line change 9
9
10
10
on :
11
11
push :
12
- branches : [main, master, develop]
13
- tags : ["v*"]
14
12
paths :
15
13
- " .github/workflows/**"
16
14
- " packages/basemap/**"
17
15
pull_request :
18
- branches : [main, master, develop]
19
16
paths :
20
17
- " .github/workflows/**"
21
18
- " packages/basemap/**"
22
- workflow_dispatch : # Allows manual workflow runs
23
- env :
24
- PKGDIR : " packages/basemap"
25
- CIBW_BUILD_VERBOSITY : 1
26
- PYTHONUNBUFFERED : " 1"
27
- PYTHONWARNINGS : " ignore:DEPRECATION"
28
- GEOS_VERSION : " 3.6.5"
19
+ workflow_dispatch :
29
20
30
21
jobs :
31
22
build_wheels :
@@ -37,11 +28,32 @@ jobs:
37
28
38
29
steps :
39
30
- uses : actions/checkout@v4
31
+
40
32
- name : Set up Python
41
33
uses : actions/setup-python@v4
42
34
with :
43
35
python-version : " 3.9"
44
36
37
+ - name : Setup CMake
38
+ uses : jwlawson/actions-setup-cmake@v1.13
39
+ with :
40
+ cmake-version : " 3.16.x"
41
+
42
+ - name : Setup C++ toolchain (Linux)
43
+ if : runner.os == 'Linux'
44
+ run : |
45
+ sudo apt-get update
46
+ sudo apt-get install -y build-essential
47
+
48
+ - name : Setup C++ toolchain (Windows)
49
+ if : runner.os == 'Windows'
50
+ uses : microsoft/setup-msbuild@v1.1
51
+
52
+ - name : Setup C++ toolchain (macOS)
53
+ if : runner.os == 'macOS'
54
+ run : |
55
+ xcode-select --install || true
56
+
45
57
- name : Install cibuildwheel
46
58
run : python -m pip install cibuildwheel==2.16.2
47
59
You can’t perform that action at this time.
0 commit comments