Skip to content

Commit

Permalink
CI: Simplify the scripts for install GMT dependencies (#8669)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Jan 5, 2025
1 parent 2015787 commit 3d0ae14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions ci/install-dependencies-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ sudo apt-get update
sudo apt-get install -y --no-install-recommends --no-install-suggests $packages

# Install packages via conda
conda update -n base -c conda-forge conda --solver libmamba
conda install ${conda_packages} -c conda-forge --solver libmamba
conda install ${conda_packages} -c conda-forge
echo "${CONDA}/bin" >> $GITHUB_PATH

# Remove pcre-config from conda's path so cmake won't find the conda's one
Expand Down
3 changes: 1 addition & 2 deletions ci/install-dependencies-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ fi
brew install ${packages}

# Install packages via conda
conda update -n base -c conda-forge conda --solver libmamba
conda install ${conda_packages} -c conda-forge --solver libmamba
conda install ${conda_packages} -c conda-forge
echo "${CONDA}/bin" >> $GITHUB_PATH

# Remove pcre-config from conda's path so cmake won't find the conda's one
Expand Down
3 changes: 1 addition & 2 deletions ci/install-dependencies-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ if [ "$PACKAGE" = "true" ]; then
fi

# install more packages using conda
$CONDA\\Scripts\\conda.exe update -n base -c conda-forge conda --solver libmamba
$CONDA\\Scripts\\conda.exe install ${conda_packages} -c conda-forge --solver libmamba
$CONDA\\Scripts\\conda.exe install ${conda_packages} -c conda-forge
echo "$CONDA\\Library\\bin" >> $GITHUB_PATH
echo "$CONDA\\Scripts" >> $GITHUB_PATH

Expand Down

0 comments on commit 3d0ae14

Please sign in to comment.