Switch docs to vitepress #483
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: Apptainer | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| paths: | |
| - '**' | |
| tags: | |
| - 'v*.*.*' | |
| pull_request: | |
| branches: | |
| - 'master' | |
| paths: | |
| - '**' | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 60 | |
| defaults: | |
| run: | |
| shell: bash | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: eWaterCycle/setup-apptainer@v2 | |
| with: | |
| apptainer-version: 1.3.0 | |
| - name: Build apptainer | |
| run: sudo apptainer build --notest pysr.sif Apptainer.def | |
| - name: Test apptainer | |
| run: | | |
| TMPDIR=$(mktemp -d) | |
| cp pysr.sif $TMPDIR | |
| cd $TMPDIR | |
| sudo apptainer test ./pysr.sif |