forked from FEniCS/ufl
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into dolci/merge_upstream_2
- Loading branch information
Showing
195 changed files
with
2,974 additions
and
5,297 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
builtins = ufl | ||
exclude = doc/sphinx/source/conf.py | ||
per-file-ignores = | ||
*/__init__.py: F401 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Spack build | ||
|
||
on: | ||
# Uncomment the below 'push' to trigger on push | ||
# push: | ||
# branches: | ||
# - "**" | ||
schedule: | ||
# '*' is a special character in YAML, so string must be quoted | ||
- cron: "0 2 * * WED" | ||
workflow_dispatch: | ||
inputs: | ||
spack_repo: | ||
description: "Spack repository to test" | ||
default: "spack/spack" | ||
type: string | ||
spack_ref: | ||
description: "Spack repository branch/tag to test" | ||
default: "develop" | ||
type: string | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: ubuntu:latest | ||
steps: | ||
- name: Install Spack requirements | ||
run: | | ||
apt-get -y update | ||
apt-get install -y bzip2 curl file git gzip make patch python3-minimal tar xz-utils | ||
apt-get install -y g++ gfortran # compilers | ||
- name: Get Spack | ||
if: github.event_name != 'workflow_dispatch' | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ./spack | ||
repository: spack/spack | ||
- name: Get Spack | ||
if: github.event_name == 'workflow_dispatch' | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ./spack | ||
repository: ${{ github.event.inputs.spack_repo }} | ||
ref: ${{ github.event.inputs.spack_ref }} | ||
|
||
- name: Install UFL development version and run tests | ||
run: | | ||
. ./spack/share/spack/setup-env.sh | ||
spack env create main | ||
spack env activate main | ||
spack add py-fenics-ufl@main | ||
spack install --test=root | ||
- name: Install UFL release version and run tests | ||
run: | | ||
. ./spack/share/spack/setup-env.sh | ||
spack env create release | ||
spack env activate release | ||
spack add py-fenics-ufl | ||
spack install --test=root |
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 |
---|---|---|
|
@@ -31,3 +31,4 @@ Contributors: | |
| Nacime Bouziani <[email protected]> | ||
| Reuben W. Hill <[email protected]> | ||
| Nacime Bouziani <[email protected]> | ||
| Matthew Scroggs <[email protected]> |
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
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.