File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build CVA6 Toolchain
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+
9
+ jobs :
10
+ build-cva6-toolchain :
11
+ name : Build CVA6 Toolchain
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Clone CVA6 Repository
16
+ run : |
17
+ git clone https://github.com/openhwgroup/cva6.git
18
+ cd cva6
19
+ mkdir custom_toolchain_build
20
+ export INSTALL_DIR=$(pwd)/custom_toolchain_build
21
+ echo "INSTALL_DIR: $INSTALL_DIR"
22
+
23
+ - name : Fetch and Build Toolchain
24
+ run : |
25
+ cd cva6/util/toolchain-builder
26
+ bash get-toolchain.sh
27
+ bash build-toolchain.sh $INSTALL_DIR
28
+
29
+ - name : Archive Build Results
30
+ run : |
31
+ cd cva6
32
+ tar -czvf custom_toolchain_build.tar.gz custom_toolchain_build/
33
+ if : success()
34
+
35
+ - name : Upload Build Artifacts
36
+ uses : actions/upload-artifact@v3
37
+ with :
38
+ name : cva6-toolchain-build
39
+ path : cva6/custom_toolchain_build.tar.gz
40
+
You can’t perform that action at this time.
0 commit comments