@@ -28,6 +28,8 @@ concurrency:
28
28
group : ${{ github.workflow }}-${{ github.ref }}
29
29
cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
30
30
31
+ permissions : {}
32
+
31
33
jobs :
32
34
test_gmt_dev :
33
35
name : ${{ matrix.os }} - GMT ${{ matrix.gmt_git_ref }}
50
52
with :
51
53
# fetch all history so that setuptools-scm works
52
54
fetch-depth : 0
55
+ persist-credentials : false
53
56
54
57
- name : Get current week number of year
55
58
id : date
96
99
repository : ' GenericMappingTools/gmt'
97
100
ref : ${{ matrix.gmt_git_ref }}
98
101
path : ' gmt'
102
+ persist-credentials : false
99
103
100
104
# Build GMT from source on Linux/macOS, script is adapted from
101
105
# https://github.com/GenericMappingTools/gmt/blob/6.5.0/ci/build-gmt.sh
@@ -105,7 +109,7 @@ jobs:
105
109
mkdir build
106
110
cd build
107
111
cmake -G Ninja .. \
108
- -DCMAKE_INSTALL_PREFIX=${{ env. GMT_INSTALL_DIR } } \
112
+ -DCMAKE_INSTALL_PREFIX=${GMT_INSTALL_DIR} \
109
113
-DCMAKE_BUILD_TYPE=Release \
110
114
-DGMT_ENABLE_OPENMP=TRUE \
111
115
-DGMT_USE_THREADS=TRUE
@@ -125,7 +129,7 @@ jobs:
125
129
cd build
126
130
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
127
131
cmake -G Ninja .. ^
128
- -DCMAKE_INSTALL_PREFIX=${{ env. GMT_INSTALL_DIR }} ^
132
+ -DCMAKE_INSTALL_PREFIX=% GMT_INSTALL_DIR% ^
129
133
-DCMAKE_BUILD_TYPE=Release ^
130
134
-DCMAKE_PREFIX_PATH=${{ env.MAMBA_ROOT_PREFIX }}\envs\pygmt\Library ^
131
135
-DGMT_ENABLE_OPENMP=TRUE ^
0 commit comments