File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+ pull_request :
6
+ merge_group :
7
+
8
+ jobs :
9
+ submit :
10
+ runs-on : ubuntu-22.04
11
+ defaults :
12
+ run :
13
+ working-directory : ./riscv-demo
14
+ steps :
15
+ - name : Check out source code
16
+ uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
19
+ - uses : actions/setup-python@v4
20
+ with :
21
+ python-version : ' 3.10'
22
+ - name : Set up PDM
23
+ uses : pdm-project/setup-pdm@v4
24
+ with :
25
+ cache : true
26
+ cache-dependency-path : ./riscv-demo/pdm.lock
27
+ - name : Install dependencies
28
+ run : |
29
+ pdm install
30
+ - run : |
31
+ pdm run chipflow silicon submit
32
+ env:
33
+ CHIPFLOW_API_KEY_ID: ${{ secrets.CHIPFLOW_API_KEY_ID }}
34
+ CHIPFLOW_API_KEY_SECRET: ${{ secrets.CHIPFLOW_API_KEY_SECRET }}
Original file line number Diff line number Diff line change @@ -32,5 +32,7 @@ test = [
32
32
[tool .pdm .scripts ]
33
33
_.env_file = " .env.toolchain"
34
34
test.cmd = " pytest"
35
+ submit.cmd = " chipflow silicon submit"
35
36
pre_install = " git config --global core.longpaths true"
36
37
38
+
You can’t perform that action at this time.
0 commit comments