From 8745e7b963fe72f9890c8664886720e043baff4f Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 27 Apr 2024 19:35:15 +0800 Subject: [PATCH] CI: Need to setup miniconda for macOS-14 (#8463) --- .github/workflows/build.yml | 6 +++++- .github/workflows/docs.yml | 6 +++++- .github/workflows/tests.yml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5b7413d279..e46e5ce18df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ on: defaults: run: # default to use bash shell - shell: bash + shell: bash -el {0} concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -73,6 +73,10 @@ jobs: path: C:\vcpkg\installed\ if: runner.os == 'Windows' + - name: Setup conda + uses: conda-incubator/setup-miniconda@v3 + if: runner.os == 'macOS' + - name: Install GMT dependencies run: | # $RUNNER_OS can be Linux, macOS or Windows diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2c15f9683df..d97aa6078bd 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,7 +21,7 @@ on: defaults: run: # default to use bash shell - shell: bash + shell: bash -el {0} concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -67,6 +67,10 @@ jobs: path: C:\vcpkg\installed\ if: runner.os == 'Windows' + - name: Setup conda + uses: conda-incubator/setup-miniconda@v3 + if: runner.os == 'macOS' + - name: Install GMT dependencies run: | # $RUNNER_OS can be Linux, macOS or Windows diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6d550650f3c..63b27edb038 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ on: defaults: run: # default to use bash shell - shell: bash + shell: bash -el {0} concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -70,6 +70,10 @@ jobs: path: C:\vcpkg\installed\ if: runner.os == 'Windows' + - name: Setup conda + uses: conda-incubator/setup-miniconda@v3 + if: runner.os == 'macOS' + - name: Install GMT dependencies run: | # $RUNNER_OS can be Linux, macOS or Windows