forked from precice/fenicsx-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d2f727
commit 747f826
Showing
1 changed file
with
33 additions
and
0 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,33 @@ | ||
name: Run preCICE Tutorials | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
paths: | ||
- '**' | ||
|
||
jobs: | ||
run_ht_simple: | ||
name: Run HT, simple | ||
runs-on: ubuntu-latest | ||
container: precice/precice | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Install Dependencies & FEniCSx | ||
run: | | ||
apt-get -qq update | ||
apt-get -qq install software-properties-common python3-dev python3-pip git apt-utils | ||
add-apt-repository -y ppa:fenics-packages/fenics | ||
apt-get -qq install --no-install-recommends fenicsx | ||
rm -rf /var/lib/apt/lists/* | ||
- name: Install adapter | ||
run: pip3 install --user . | ||
- name: Get tutorials | ||
run: git clone -b master https://github.com/PhilipHildebrand/tutorials.git | ||
- name: Run tutorial | ||
run: | | ||
cd tutorials/partitioned-heat-conduction/fenicsx | ||
./run.sh -d & ./run.sh -n |