Skip to content

Commit c8bacaa

Browse files
autofix from pre-commit run --all-files prettier
relates to #260 NOTE: has json changes from #295 as well
1 parent cd0ecb8 commit c8bacaa

File tree

1,272 files changed

+14802
-18236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,272 files changed

+14802
-18236
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,5 @@
3535
]
3636
}
3737
},
38-
"forwardPorts": [
39-
8000, 8080
40-
]
38+
"forwardPorts": [8000, 8080]
4139
}

.github/workflows/pages.yml

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy pages
22
on:
33
push:
44
branches:
5-
- main
5+
- main
66
workflow_dispatch:
77
permissions:
88
contents: read
@@ -18,73 +18,73 @@ jobs:
1818
name: github-pages
1919
url: ${{ steps.deployment.outputs.page_url }}
2020
steps:
21-
- name: Clone Github Repo Action
22-
uses: actions/checkout@v4
23-
- name: Setup apptainer
24-
uses: eWaterCycle/[email protected]
25-
- name: Get container from cache
26-
id: cache-sif
27-
uses: actions/cache@v3
28-
with:
29-
path: .singularity/image.sif
30-
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
31-
- name: Get gems and node files from cache
32-
id: cache-bundle-npm
33-
uses: actions/cache@v3
34-
with:
35-
path: |
36-
.home/.gems
37-
node_modules
38-
key: ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
39-
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
40-
name: Build container
41-
run: ./bin/build_container
42-
- name: Setup project
43-
run: ./bin/setup
44-
- name: Build manual
45-
run: ./do gen:html_manual MANUAL_NAME=isa VERSIONS=all
46-
- name: Build html documentation for generic_rv64
47-
run: ./do gen:html[generic_rv64]
48-
- name: Generate YARD docs
49-
run: ./do gen:tool_doc
50-
- name: Create _site/example_cfg
51-
run: mkdir -p _site/example_cfg
52-
- name: Create _site/manual
53-
run: mkdir -p _site/manual
54-
- name: Create _site/pdfs
55-
run: mkdir -p _site/pdfs
56-
- name: Create _site/htmls
57-
run: mkdir -p _site/htmls
58-
- name: Copy cfg html
59-
run: cp -R gen/cfg_html_doc/generic_rv64/html _site/example_cfg
60-
- name: Create RVA20 Profile Release PDF Spec
61-
run: ./do gen:profile[RVA20]
62-
- name: Copy RVA20 Profile Release PDF
63-
run: cp gen/profile_doc/pdf/RVA20.pdf _site/pdfs/RVA20.pdf
64-
- name: Create RVA22 Profile Release PDF Spec
65-
run: ./do gen:profile[RVA22]
66-
- name: Copy RVA22 Profile Release PDF
67-
run: cp gen/profile_doc/pdf/RVA22.pdf _site/pdfs/RVA22.pdf
68-
- name: Create RVI20 Profile Release PDF Spec
69-
run: ./do gen:profile[RVI20]
70-
- name: Copy RVI20 Profile Release PDF
71-
run: cp gen/profile_doc/pdf/RVA20.pdf _site/pdfs/RVI20.pdf
72-
- name: Create MC100 PDF Spec
73-
run: ./do gen:cert_model_pdf[MC100]
74-
- name: Copy MC100 PDF
75-
run: cp gen/certificate_doc/pdf/MC100.pdf _site/pdfs/MC100.pdf
76-
- name: Create MC100 HTML Spec
77-
run: ./do gen:cert_model_html[MC100]
78-
- name: Copy MC100 HTML
79-
run: cp gen/certificate_doc/html/MC100.html _site/htmls/MC100.html
80-
- name: Copy manual html
81-
run: cp -R gen/manual/isa/top/all/html _site/manual
82-
- name: Setup Pages
83-
uses: actions/configure-pages@v5
84-
- name: Upload artifact
85-
uses: actions/upload-pages-artifact@v3
86-
with:
87-
path: '_site'
88-
- name: Deploy to GitHub Pages
89-
id: deployment
90-
uses: actions/deploy-pages@v4
21+
- name: Clone Github Repo Action
22+
uses: actions/checkout@v4
23+
- name: Setup apptainer
24+
uses: eWaterCycle/[email protected]
25+
- name: Get container from cache
26+
id: cache-sif
27+
uses: actions/cache@v3
28+
with:
29+
path: .singularity/image.sif
30+
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
31+
- name: Get gems and node files from cache
32+
id: cache-bundle-npm
33+
uses: actions/cache@v3
34+
with:
35+
path: |
36+
.home/.gems
37+
node_modules
38+
key: ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
39+
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
40+
name: Build container
41+
run: ./bin/build_container
42+
- name: Setup project
43+
run: ./bin/setup
44+
- name: Build manual
45+
run: ./do gen:html_manual MANUAL_NAME=isa VERSIONS=all
46+
- name: Build html documentation for generic_rv64
47+
run: ./do gen:html[generic_rv64]
48+
- name: Generate YARD docs
49+
run: ./do gen:tool_doc
50+
- name: Create _site/example_cfg
51+
run: mkdir -p _site/example_cfg
52+
- name: Create _site/manual
53+
run: mkdir -p _site/manual
54+
- name: Create _site/pdfs
55+
run: mkdir -p _site/pdfs
56+
- name: Create _site/htmls
57+
run: mkdir -p _site/htmls
58+
- name: Copy cfg html
59+
run: cp -R gen/cfg_html_doc/generic_rv64/html _site/example_cfg
60+
- name: Create RVA20 Profile Release PDF Spec
61+
run: ./do gen:profile[RVA20]
62+
- name: Copy RVA20 Profile Release PDF
63+
run: cp gen/profile_doc/pdf/RVA20.pdf _site/pdfs/RVA20.pdf
64+
- name: Create RVA22 Profile Release PDF Spec
65+
run: ./do gen:profile[RVA22]
66+
- name: Copy RVA22 Profile Release PDF
67+
run: cp gen/profile_doc/pdf/RVA22.pdf _site/pdfs/RVA22.pdf
68+
- name: Create RVI20 Profile Release PDF Spec
69+
run: ./do gen:profile[RVI20]
70+
- name: Copy RVI20 Profile Release PDF
71+
run: cp gen/profile_doc/pdf/RVA20.pdf _site/pdfs/RVI20.pdf
72+
- name: Create MC100 PDF Spec
73+
run: ./do gen:cert_model_pdf[MC100]
74+
- name: Copy MC100 PDF
75+
run: cp gen/certificate_doc/pdf/MC100.pdf _site/pdfs/MC100.pdf
76+
- name: Create MC100 HTML Spec
77+
run: ./do gen:cert_model_html[MC100]
78+
- name: Copy MC100 HTML
79+
run: cp gen/certificate_doc/html/MC100.html _site/htmls/MC100.html
80+
- name: Copy manual html
81+
run: cp -R gen/manual/isa/top/all/html _site/manual
82+
- name: Setup Pages
83+
uses: actions/configure-pages@v5
84+
- name: Upload artifact
85+
uses: actions/upload-pages-artifact@v3
86+
with:
87+
path: "_site"
88+
- name: Deploy to GitHub Pages
89+
id: deployment
90+
uses: actions/deploy-pages@v4

.github/workflows/regress.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@ name: Regression test
22
on:
33
pull_request:
44
branches:
5-
- main
5+
- main
66
workflow_dispatch:
77
jobs:
88
regress:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Clone Github Repo Action
12-
uses: actions/checkout@v4
13-
- name: Setup apptainer
14-
uses: eWaterCycle/[email protected]
15-
- name: Get container from cache
16-
id: cache-sif
17-
uses: actions/cache@v3
18-
with:
19-
path: .singularity/image.sif
20-
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
21-
- name: Get gems and node files from cache
22-
id: cache-bundle-npm
23-
uses: actions/cache@v3
24-
with:
25-
path: |
26-
.home/.gems
27-
node_modules
28-
key: ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
29-
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
30-
name: Build container
31-
run: ./bin/build_container
32-
- name: Setup project
33-
run: ./bin/setup
34-
- name: Run regression
35-
run: ./do regress
11+
- name: Clone Github Repo Action
12+
uses: actions/checkout@v4
13+
- name: Setup apptainer
14+
uses: eWaterCycle/[email protected]
15+
- name: Get container from cache
16+
id: cache-sif
17+
uses: actions/cache@v3
18+
with:
19+
path: .singularity/image.sif
20+
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
21+
- name: Get gems and node files from cache
22+
id: cache-bundle-npm
23+
uses: actions/cache@v3
24+
with:
25+
path: |
26+
.home/.gems
27+
node_modules
28+
key: ${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('package-lock.json') }}
29+
- if: ${{ steps.cache-sif.outputs.cache-hit != 'true' }}
30+
name: Build container
31+
run: ./bin/build_container
32+
- name: Setup project
33+
run: ./bin/setup
34+
- name: Run regression
35+
run: ./do regress

.solargraph.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
---
22
include:
3-
- "lib/**/*.rb"
4-
- "tasks/**/*.rake"
3+
- "lib/**/*.rb"
4+
- "tasks/**/*.rake"
55
exclude:
6-
- spec/**/*
7-
- test/**/*
8-
- vendor/**/*
9-
- ".home/**/*"
6+
- spec/**/*
7+
- test/**/*
8+
- vendor/**/*
9+
- ".home/**/*"
1010
require: []
1111
domains: []
1212
reporters:
13-
- rubocop
14-
- require_not_found
13+
- rubocop
14+
- require_not_found
1515
formatter:
1616
rubocop:
1717
cops: safe
1818
except: []
1919
only: []
2020
extra_args: []
2121
require_paths:
22-
- /usr/lib/ruby/3.2.0
22+
- /usr/lib/ruby/3.2.0
2323
plugins: []
2424
max_files: 5000

arch/certificate_class/MC.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ naming_scheme: |
2121
2222
Where:
2323
24-
* Left & right square braces denote optional.
24+
* Left & right square braces denote optional.
2525
* \<model> is a 3 digit integer. It is changed only when mandatory extensions are added to a CRD.
2626
** The one's digit is incremented when a small mandatory extension is added (e.g., Zicond)
2727
** The ten's digit is incremented when a medium mandatory extension is addded (e.g., PMP)
2828
** The hundreds's digit is incremented when a large mandatory extension is addded (e.g., V or H)
29-
* \<version> is a semantic version (see semver.org) formatted as <major>[.<minor>.[patch]]. If \<version> is omitted, the reference applies equally to all versions.
29+
* \<version> is a semantic version (see semver.org) formatted as <major>[.<minor>.[patch]]. If \<version> is omitted, the reference applies equally to all versions.
3030
** A <major> release indicates support for a new optional extension.
3131
** A <minor> release indicates one or more of the following changes to the certification tests associated with the CRD.
3232
*** Fix test bug or increase test coverage
@@ -35,4 +35,4 @@ naming_scheme: |
3535
** A <patch> release indicates just CRD specification changes without any difference in functional behavior
3636
3737
mandatory_priv_modes:
38-
- M
38+
- M

arch/certificate_class/MockCertificateClass.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ naming_scheme: |
1313
A Mock certificate class or model can have any name as long as it can be a hash key.
1414
1515
mandatory_priv_modes:
16-
- M
16+
- M

0 commit comments

Comments
 (0)