File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 6
6
#
7
7
# - BUILD_DOCS: Build GMT documentations [false]
8
8
# - RUN_TESTS: Run GMT tests [false]
9
+ # - PACKAGE: Create GMT packages [false]
9
10
#
10
11
set -x -e
11
12
12
13
# set defaults to false
13
14
BUILD_DOCS=" ${BUILD_DOCS:- false} "
14
15
RUN_TESTS=" ${RUN_TESTS:- false} "
16
+ PACKAGE=" ${PACKAGE:- false} "
15
17
16
18
# packages for compiling GMT
17
- # cmake is pre-installed on GitHub Actions
19
+ # cmake is pre-installed on Azure Pipelines
18
20
packages=" ninja curl pcre2 netcdf gdal fftw ghostscript"
19
21
20
22
# packages for build documentations
@@ -31,7 +33,12 @@ if [ "$PACKAGE" = "true" ]; then
31
33
packages+=" gnu-tar"
32
34
fi
33
35
34
- # Install packages
36
+ # Remove unused taps and packages (pre-installed in Azure Pipelines)
37
+ brew untap homebrew/cask-versions homebrew/cask homebrew/bundle \
38
+ homebrew/services mongodb/brew aws/tap adoptopenjdk/openjdk
39
+ brew uninstall php
40
+
41
+ # Install GMT dependencies
35
42
brew update
36
43
brew install ${packages}
37
44
You can’t perform that action at this time.
0 commit comments