-
Notifications
You must be signed in to change notification settings - Fork 170
74 lines (66 loc) · 1.91 KB
/
config.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Gemmini CI
on: [push]
defaults:
run:
shell: bash -leo pipefail {0}
env:
REMOTE_WORK_DIR: /scratch/buildbot/gemmini-ci-shared/gemmini-${{ github.sha }}
JAVA_TMP_DIR: /tmp/gemmini-${{ github.sha }}-full
jobs:
install-gemmini:
runs-on: jktqos
steps:
- name: Delete old checkout
run: |
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
- uses: actions/checkout@v3
- name: Setup repository
run: |
.github/scripts/install-gemmini.sh
spike-run-tests:
runs-on: jktqos
needs: install-gemmini
steps:
- name: Delete old checkout
run: |
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
- uses: actions/checkout@v3
- name: Run Gemmini Spike tests
run: |
.github/scripts/run-tests-spike.sh
build-gemmini-config:
runs-on: jktqos
needs: install-gemmini
steps:
- name: Delete old checkout
run: |
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
- uses: actions/checkout@v3
- name: Building Gemmini Config using Verilator
run: |
.github/scripts/do-rtl-build.sh
rtl-run-tests:
runs-on: jktqos
needs: build-gemmini-config
steps:
- name: Delete old checkout
run: |
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
- uses: actions/checkout@v3
- name: Run Gemmini Config tests using Verilator
run: |
.github/scripts/run-tests-rtl.sh
cleanup:
name: cleanup
needs: [spike-run-tests, rtl-run-tests]
runs-on: jktqos
if: ${{ always() }}
steps:
- name: Delete repo copy
run: |
rm -rf ${{ env.REMOTE_WORK_DIR }}
rm -rf ${{ env.JAVA_TMP_DIR }}