Have github action do submodule checkout #64
Workflow file for this run
This file contains 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: Regression test | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
regress: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Github Repo Action | |
uses: actions/checkout@v4 | |
- name: Setup apptainer | |
uses: eWaterCycle/[email protected] | |
- name: Get container from cache | |
id: cache-sif | |
uses: actions/cache@v3 | |
with: | |
path: .singularity/image.sif | |
key: ${{ hashFiles('container.def', 'bin/.container-tag') }} | |
- name: Get gems and node files from cache | |
id: cache-bundle-npm | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.home/.gems | |
node_modules | |
key: ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }} | |
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }} | |
name: Build container | |
run: ./bin/build_container | |
- name: Setup project | |
run: ./bin/setup | |
- name: Run IDL tests | |
run: ./do idl_test | |
- name: Build html documentation for generic_rv64 | |
run: ./do gen:html[generic_rv64] |