-
Notifications
You must be signed in to change notification settings - Fork 18
27 lines (27 loc) · 970 Bytes
/
regress.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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: oras://docker.io/riscvintl/spec-generator:0.1
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
name: Download container
run: apptainer pull .singularity/image.sif oras://docker.io/riscvintl/spec-generator:0.1
- name: Setup project
run: apptainer run --home ${{ github.workspace }}/.home .singularity/image.sif ./bin/setup
- name: Build html documentation for generic_rv64
run: apptainer run --home ${{ github.workspace }}/.home .singularity/image.sif bundle exec rake gen:html[generic_rv64]