Add RegulatoryNetwork behavior with Boost ODE integration #774
This file contains hidden or 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
| name: Singularity Integration | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| container: | |
| image: quay.io/singularity/singularity:v3.9.0 | |
| options: "--privileged --workdir /data" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Add root user to subuid and subgid... | |
| run: | | |
| echo root:100000:65536 >> /etc/subuid | |
| echo root:100000:65536 >> /etc/subgid | |
| - name: Set correct branch... | |
| run: | | |
| export GITHUB_BRANCH_NAME=${{ github.head_ref || github.ref_name }} | |
| sed -i "s|BDM_BRANCH=\"master\"|BDM_BRANCH=\"$GITHUB_BRANCH_NAME\"|" Singularity | |
| - name: Build singularity image... | |
| run: | | |
| chmod 777 . | |
| singularity build --fakeroot Singularity.sif Singularity | |
| - name: Source Biodynamo and run demo... | |
| run: | | |
| singularity exec --cleanenv -i Singularity.sif bash -c "source /biodynamo/build/third_party/root/bin/thisroot.sh && source /biodynamo/build/bin/thisbdm.sh && \ | |
| export DISPLAY=:99.0 && /biodynamo/util/xvfb-initd.sh start && cd $(mktemp -d) && bdm demo tumor_concept && cd tumor_concept && bdm clean && bdm run" |