Skip to content

Commit 65fc75e

Browse files
committed
more shenanigans with hidden files in ci
1 parent 008d51a commit 65fc75e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/scripts/install-gemmini.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ cd $LOCAL_CHECKOUT_DIR
3737
chown -R $(whoami) .
3838
git config --global --add safe.directory $LOCAL_CHECKOUT_DIR
3939
git submodule update --init --recursive software/gemmini-rocc-tests
40-
rm -rf $LOCAL_CHIPYARD_DIR/generators/gemmini/*
40+
rm -rf $LOCAL_CHIPYARD_DIR/generators/gemmini/* $LOCAL_CHIPYARD_DIR/generators/gemmini/.git*
4141
mv -f $LOCAL_CHECKOUT_DIR/* $LOCAL_CHECKOUT_DIR/.git* $LOCAL_CHIPYARD_DIR/generators/gemmini/
4242

.github/workflows/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
${{ steps.get-paths.outputs.LOCAL_CONDA }}
2626
key: gemmini-install-${{ github.ref }}-${{ github.sha }}
2727

28-
prepare-gemmini-config:
29-
name: prepare-gemmini-config
28+
build-gemmini-config:
29+
name: build-gemmini-config
3030
runs-on: self-hosted
3131
needs: install-gemmini
3232
container:
@@ -53,13 +53,13 @@ jobs:
5353
- name: Building Gemmini Config using Verilator
5454
run: .github/scripts/do-rtl-build.sh
5555

56-
- name: cache prepare-gemmini-config install
56+
- name: cache build-gemmini-config install
5757
uses: actions/cache@v2
5858
with:
5959
path: |
6060
${{ steps.get-paths.outputs.LOCAL_CHIPYARD_DIR }}
6161
${{ steps.get-paths.outputs.LOCAL_CONDA }}
62-
key: prepare-gemmini-config-${{ github.ref }}-${{ github.sha }}
62+
key: build-gemmini-config-${{ github.ref }}-${{ github.sha }}
6363

6464
spike-run-tests:
6565
name: spike-run-tests
@@ -92,7 +92,7 @@ jobs:
9292
rtl-run-tests:
9393
name: rtl-run-tests
9494
runs-on: ubuntu-latest
95-
needs: prepare-gemmini-config
95+
needs: build-gemmini-config
9696
container:
9797
image: ucbbar/chipyard-ci-image:3f9150
9898
options: --entrypoint /bin/bash
@@ -106,13 +106,13 @@ jobs:
106106
- name: remove chipyard
107107
run: .github/scripts/remove-chipyard.sh
108108

109-
- name: restore cache prepare-gemmini-config install
109+
- name: restore cache build-gemmini-config install
110110
uses: actions/cache@v2
111111
with:
112112
path: |
113113
${{ steps.get-paths.outputs.LOCAL_CHIPYARD_DIR }}
114114
${{ steps.get-paths.outputs.LOCAL_CONDA }}
115-
key: prepare-gemmini-config-${{ github.ref }}-${{ github.sha }}
115+
key: build-gemmini-config-${{ github.ref }}-${{ github.sha }}
116116

117117
- name: run-tests
118118
run: .github/scripts/run-tests-rtl.sh

0 commit comments

Comments
 (0)