Skip to content

Commit

Permalink
ci: add cache_test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
miaochenlu committed Jan 8, 2025
1 parent a1b9115 commit 00396ab
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 121 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/cache_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: GPC DCache Test

on:
push:
tags: ['*']
branches: ['gpc_cache*']
pull_request:
workflow_dispatch:

jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cleanup
run: sed -i "s/grapecoveDCache[chisel3]/test/g" build.sc
- name: Cache Scala
uses: coursier/cache-action@v6
- name: Setup Scala
uses: coursier/setup-action@v1
with:
jvm: adopt:11
apps: sbt mill
- name: Setup Dependencies
run: |
sudo apt-get install ccache
- name: Install Verilator
run: |
sudo apt-get install verilator
- name: Init Submodule
run: |
make init
- name: Cache Test
run: |
make test
62 changes: 0 additions & 62 deletions .github/workflows/template-cleanup.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 00396ab

Please sign in to comment.