Skip to content

Commit

Permalink
another formatting attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Apr 10, 2024
1 parent 9c3f999 commit e411cd4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ jobs:
gslib: [true]
# When phases==true, run each individual build step explicitly: mfem -> swig -> pymfem
phases: [false]

exclude:
# CUDA does not support MacOS
- os: macos-latest
cuda: true
include:
# Include a single example where the build is executed in phases
- parallel: false
cuda: false
libceed: false
gslib: true
phases: true
exclude:
# CUDA does not support MacOS
- os: macos-latest
cuda: true

# https://7tonshark.com/posts/github-actions-ternary-operator/
name: ${{ matrix.os }}-
Expand All @@ -43,7 +44,6 @@ jobs:
${{ ((matrix.cuda == true) && 'cuda-') || '' }}
${{ ((matrix.libceed == true) && 'libceed-') || '' }}
${{ ((matrix.gslib == true) && 'gslib-') || '' }}
# ${{ (!(matrix.mfem-branch == 'default') && format('mfem={0}', matrix.mfem-branch)) || '' }}

runs-on: ${{ matrix.os }}
env:
Expand All @@ -52,7 +52,6 @@ jobs:
${{ ((matrix.cuda == true) && '--with-cuda ') || '' }}
${{ ((matrix.libceed == true) && '--with-libceed ') || '' }}
${{ ((matrix.gslib == true) && '--with-gslib ') || '' }}
# ${{ (!(matrix.mfem-branch == 'default') && format('--mfem-branch={0}', matrix.mfem-branch)) || '' }}

steps:
- name: Checkout repo
Expand Down

0 comments on commit e411cd4

Please sign in to comment.