Skip to content

Working on pipelines #38

Working on pipelines

Working on pipelines #38

Workflow file for this run

name: Compile
on: [push, workflow_dispatch]
jobs:
compile-all:
runs-on: ubuntu-latest
container:
image: ghcr.io/ascot4fusion/ascot5deps:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Make ascot5_main with MPI
run: make ascot5_main MPI=1 FLAGS="-foffload=disable"
- name: Make clean
run: make clean
- name: Make ascot5_main without MPI
run: make ascot5_main MPI=0 FLAGS="-foffload=disable"
- name: Make libascot.so
run: make libascot MPI=0 FLAGS="-foffload=disable"
- name: Make BBNBI
run: make bbnbi5 MPI=0 FLAGS="-foffload=disable"
- name: Make ascot2py
run: make ascot2py.py MPI=0 FLAGS="-foffload=disable"
- name: Upload ascot2py.py as an artifact
uses: actions/upload-artifact@v3
with:
name: ascot2py.py
path: ./a5py/ascotpy/ascot2py.py