Skip to content

Commit

Permalink
CI for autotools/Darwin: split into two jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cburstedde committed Jan 4, 2024
1 parent c860f6e commit f13f745
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/ci_darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ on:
pull_request:

jobs:
darwin:

darwin1:
runs-on: macos-latest
name: Autotools build on Darwin
name: Autotools build 1 on Darwin
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1

Expand Down Expand Up @@ -52,6 +53,36 @@ jobs:
make -j V=0
make -j check V=0
- name: Upload log files
if: always()
uses: actions/upload-artifact@v3
with:
name: darwin1_log
path: |
./**/config.log
./**/test-suite.log
./**/test/*.log
darwin2:
runs-on: macos-latest
name: Autotools build 2 on Darwin
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1

steps:
- run: echo "This job is running on a ${{ runner.os }} server hosted by GitHub"

- uses: actions/checkout@v3
name: Checkout source code
with:
submodules: true

- name: Install system dependencies
run: brew install open-mpi ninja automake

- name: Run bootstrap script
run: ./bootstrap

- name: Make check with MPI, debug and C++ compiler
shell: bash
run: |
Expand All @@ -65,7 +96,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v3
with:
name: darwin_log
name: darwin2_log
path: |
./**/config.log
./**/test-suite.log
Expand Down

0 comments on commit f13f745

Please sign in to comment.