Skip to content

Commit

Permalink
more shenanigans with hidden files in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hngenc committed Nov 26, 2022
1 parent 008d51a commit 65fc75e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/install-gemmini.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ cd $LOCAL_CHECKOUT_DIR
chown -R $(whoami) .
git config --global --add safe.directory $LOCAL_CHECKOUT_DIR
git submodule update --init --recursive software/gemmini-rocc-tests
rm -rf $LOCAL_CHIPYARD_DIR/generators/gemmini/*
rm -rf $LOCAL_CHIPYARD_DIR/generators/gemmini/* $LOCAL_CHIPYARD_DIR/generators/gemmini/.git*
mv -f $LOCAL_CHECKOUT_DIR/* $LOCAL_CHECKOUT_DIR/.git* $LOCAL_CHIPYARD_DIR/generators/gemmini/

14 changes: 7 additions & 7 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
${{ steps.get-paths.outputs.LOCAL_CONDA }}
key: gemmini-install-${{ github.ref }}-${{ github.sha }}

prepare-gemmini-config:
name: prepare-gemmini-config
build-gemmini-config:
name: build-gemmini-config
runs-on: self-hosted
needs: install-gemmini
container:
Expand All @@ -53,13 +53,13 @@ jobs:
- name: Building Gemmini Config using Verilator
run: .github/scripts/do-rtl-build.sh

- name: cache prepare-gemmini-config install
- name: cache build-gemmini-config install
uses: actions/cache@v2
with:
path: |
${{ steps.get-paths.outputs.LOCAL_CHIPYARD_DIR }}
${{ steps.get-paths.outputs.LOCAL_CONDA }}
key: prepare-gemmini-config-${{ github.ref }}-${{ github.sha }}
key: build-gemmini-config-${{ github.ref }}-${{ github.sha }}

spike-run-tests:
name: spike-run-tests
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
rtl-run-tests:
name: rtl-run-tests
runs-on: ubuntu-latest
needs: prepare-gemmini-config
needs: build-gemmini-config
container:
image: ucbbar/chipyard-ci-image:3f9150
options: --entrypoint /bin/bash
Expand All @@ -106,13 +106,13 @@ jobs:
- name: remove chipyard
run: .github/scripts/remove-chipyard.sh

- name: restore cache prepare-gemmini-config install
- name: restore cache build-gemmini-config install
uses: actions/cache@v2
with:
path: |
${{ steps.get-paths.outputs.LOCAL_CHIPYARD_DIR }}
${{ steps.get-paths.outputs.LOCAL_CONDA }}
key: prepare-gemmini-config-${{ github.ref }}-${{ github.sha }}
key: build-gemmini-config-${{ github.ref }}-${{ github.sha }}

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

0 comments on commit 65fc75e

Please sign in to comment.