Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UM2N container in build_docs.yml #89

Merged
merged 3 commits into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 6 additions & 22 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,38 +52,22 @@ jobs:
runs-on: ubuntu-latest
needs: check_updates
container:
image: ghcr.io/mesh-adaptation/firedrake-parmmg:latest
image: ghcr.io/mesh-adaptation/firedrake-um2n:latest
options: --user root
volumes:
- ${{ github.workspace }}:/home/firedrake/output
if: ${{ needs.check_updates.outputs.updates_found == 'true' || github.event_name != 'schedule' }}
steps:
- uses: actions/checkout@v3

- name: Install Animate, Goalie, Movement, and UM2N
- name: Update Animate, Goalie, Movement, and UM2N
run: |
. /home/firedrake/firedrake/bin/activate
git config --global --add safe.directory '*'

pip uninstall -y animate
cd /home/firedrake/firedrake/src/animate/
git pull
pip install -e .

pip uninstall -y goalie
cd /home/firedrake/firedrake/src/goalie/
git pull
pip install -e .

pip uninstall -y movement
cd /home/firedrake/firedrake/src/movement/
git pull
pip install -e .

pip install torch --index-url https://download.pytorch.org/whl/cpu
cd /home/firedrake/firedrake/src/
git clone https://github.com/mesh-adaptation/UM2N.git
pip install -e UM2N
for REPO in animate goalie movement UM2N; do
cd /home/firedrake/firedrake/src/$REPO
git pull
done
working-directory: /home/firedrake/output/
shell: bash

Expand Down
Loading