-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 332-create-better-profile-comparisons
Signed-off-by: james-ball-qualcomm <[email protected]>
- Loading branch information
Showing
277 changed files
with
8,085 additions
and
66 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Regression test | ||
|
||
on: | ||
schedule: | ||
- cron: '30 2 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# check_date from: https://stackoverflow.com/questions/63014786/how-to-schedule-a-github-actions-nightly-build-but-run-it-only-when-there-where | ||
check_date: | ||
runs-on: ubuntu-latest | ||
name: Check latest commit | ||
outputs: | ||
should_run: ${{ steps.should_run.outputs.should_run }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: print latest_commit | ||
run: echo ${{ github.sha }} | ||
|
||
- id: should_run | ||
continue-on-error: true | ||
name: check latest commit is less than a day | ||
if: ${{ github.event_name == 'schedule' }} | ||
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" | ||
nightly: | ||
needs: check_date | ||
if: ${{ needs.check_date.outputs.should_run != 'false' }} | ||
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 regression | ||
run: ./do test:nightly |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,124 @@ on: | |
- main | ||
workflow_dispatch: | ||
jobs: | ||
regress: | ||
regress-smoke: | ||
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 smoke | ||
run: ./do test:smoke | ||
regress-gen-isa-manual: | ||
runs-on: ubuntu-latest | ||
needs: regress-smoke | ||
env: | ||
MANUAL_NAME: isa | ||
VERSIONS: all | ||
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: Generate HTML ISA manual | ||
run: ./do gen:html_manual | ||
regress-gen-ext-pdf: | ||
runs-on: ubuntu-latest | ||
needs: regress-smoke | ||
env: | ||
EXT: B | ||
VERSION: 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: Generate extension PDF | ||
run: ./do gen:ext_pdf | ||
regress-gen-certificate: | ||
runs-on: ubuntu-latest | ||
needs: regress-smoke | ||
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: Generate extension PDF | ||
run: ./do gen:cert_model_pdf[MockCertificateModel] | ||
regress-gen-profile: | ||
runs-on: ubuntu-latest | ||
needs: regress-smoke | ||
steps: | ||
- name: Clone Github Repo Action | ||
uses: actions/checkout@v4 | ||
|
@@ -29,7 +145,5 @@ jobs: | |
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }} | ||
name: Build container | ||
run: ./bin/build_container | ||
- name: Setup project | ||
run: ./bin/setup | ||
- name: Run regression | ||
run: ./do regress | ||
- name: Generate extension PDF | ||
run: ./do gen:profile[MockProfileRelease] |
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
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
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
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
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
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
Oops, something went wrong.