Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Build GMT dev source code with OpenMP enabled on Linux and GThreads enabled on Linux/macOS #3011

Merged
merged 3 commits into from
May 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Wei Ji <[email protected]>
  • Loading branch information
seisman and weiji14 committed May 21, 2024
commit 58b8f569750c3c4b721e58323213a5863c092918
10 changes: 6 additions & 4 deletions .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,17 @@ jobs:
pcre
zlib

# Checkout current the GMT source codes
- name: Checkout the GMT source codes in ${{ matrix.gmt_git_ref }} branch
# Checkout current GMT repository
- name: Checkout the GMT source from ${{ matrix.gmt_git_ref }} branch
uses: actions/[email protected]
with:
repository: 'GenericMappingTools/gmt'
ref: ${{ matrix.gmt_git_ref }}
path: 'gmt'

- name: Build GMT source codes on Linux/macOS
# Build GMT from source on Linux/macOS, script is adapted from
# https://github.com/GenericMappingTools/gmt/blob/6.5.0/ci/build-gmt.sh
- name: Build GMT on Linux/macOS
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
GMT_ENABLE_OPENMP=FALSE
Expand All @@ -117,7 +119,7 @@ jobs:
GMT_INSTALL_DIR: ${{ runner.temp }}/gmt-install-dir
if: runner.os != 'Windows'

- name: Build GMT source codes on Windows
- name: Build GMT on Windows
shell: cmd
run: |
cd gmt/
Expand Down
Loading