Debian Codegraph @

.github/workflows/create_legacy_checkpoint.yml

raw
1 name: Generate adios4dolfinx legacy data
2
3 on:
4 workflow_call:
5 inputs:
6 artifact_name:
7 type: string
8 required: true
9 description: "Name of the artifact to be created"
10
11 jobs:
12 create-adios-data:
13 env:
14 data_dir: "legacy_checkpoint"
15 adios4dolfinx_version: "0.7.1"
16 runs-on: "ubuntu-22.04"
17 container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.3
18
19 steps:
20 - uses: actions/checkout@v5
21
22 - name: Install legacy version of adios4dolfinx
23 run: python3 -m pip install --break-system-packages adios4dolfinx==${adios4dolfinx_version}
24
25 - name: Create datasets
26 run: python3 ./tests/create_legacy_checkpoint.py --output-dir=$data_dir
27
28 - uses: actions/upload-artifact@v4
29 with:
30 name: ${{ inputs.artifact_name }}
31 path: ./${{ env.data_dir }}