-
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into mleoni/make_read_meshtags_a_template_function
- Loading branch information
Showing
14 changed files
with
165 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Set FEniCSx component git refs | ||
|
||
# Developers can set these refs to propagate a consistent set of git refs | ||
# across all workflows | ||
|
||
on: | ||
workflow_call: | ||
outputs: | ||
basix_ref: | ||
value: ${{ jobs.fenicsx-refs.outputs.basix_ref }} | ||
ufl_ref: | ||
value: ${{ jobs.fenicsx-refs.outputs.ufl_ref }} | ||
ffcx_ref: | ||
value: ${{ jobs.fenicsx-refs.outputs.ffcx_ref }} | ||
|
||
jobs: | ||
fenicsx-refs: | ||
name: Set FEniCSx component git refs | ||
runs-on: ubuntu-latest | ||
|
||
outputs: | ||
basix_ref: ${{ steps.fenicsx-refs.outputs.basix_ref }} | ||
ufl_ref: ${{ steps.fenicsx-refs.outputs.ufl_ref }} | ||
ffcx_ref: ${{ steps.fenicsx-refs.outputs.ffcx_ref }} | ||
|
||
# Make necessary changes to right side of equality | ||
steps: | ||
- name: Set FEniCSx component git refs | ||
id: fenicsx-refs | ||
run: | | ||
echo "basix_ref=main" >> $GITHUB_OUTPUT | ||
echo "ufl_ref=main" >> $GITHUB_OUTPUT | ||
echo "ffcx_ref=main" >> $GITHUB_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,13 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
fenicsx-refs: | ||
uses: ./.github/workflows/fenicsx-refs.yml | ||
|
||
mac-os-build: | ||
name: macOS Homebrew install and test | ||
runs-on: macos-14 | ||
needs: fenicsx-refs | ||
env: | ||
PETSC_ARCH: arch-darwin-c-opt | ||
PETSC_DIR: ${{ github.workspace }}/petsc | ||
|
@@ -30,7 +34,6 @@ jobs: | |
|
||
- name: Install Homebrew dependencies | ||
run: | | ||
brew unlink [email protected] # Can be removed once - https://github.com/actions/runner-images/pull/11015 | ||
brew install adios2 boost cmake hdf5-mpi make ninja open-mpi pkgconf pugixml spdlog # FEniCS | ||
brew install bison flex gfortran # PETSc | ||
|
@@ -63,9 +66,9 @@ jobs: | |
- name: Install FEniCSx dependencies | ||
run: | | ||
python -m pip install git+https://github.com/FEniCS/basix.git | ||
python -m pip install git+https://github.com/FEniCS/ufl.git | ||
python -m pip install git+https://github.com/FEniCS/ffcx.git | ||
python -m pip install git+https://github.com/fenics/ufl.git@${{ needs.fenicsx-refs.outputs.ufl_ref }} | ||
python -m pip install git+https://github.com/fenics/basix.git@${{ needs.fenicsx-refs.outputs.basix_ref }} | ||
python -m pip install git+https://github.com/fenics/ffcx.git@${{ needs.fenicsx-refs.outputs.ffcx_ref }} | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.