Skip to content

Commit

Permalink
cache on local disk
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Sep 22, 2024
1 parent 1cb4d7d commit 0be63dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/compile-and-cache-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,4 @@ jobs:
- name: Build
shell: bash
run: |
./scripts/unit_tests.sh release llvm-19 --build-only
- name: Update nightly cache
uses: actions/cache@v3
with:
path: |
build
~/.cache/ccache
key: nightly-build-${{ github.sha }}
./scripts/unit_tests.sh release llvm-19 --build-only && cp -r build /space/chipStar/build
12 changes: 1 addition & 11 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,7 @@ jobs:
fetch-depth: 0
submodules: 'recursive'

- name: Restore nightly cache
uses: actions/cache@v3
with:
path: |
build
~/.cache/ccache
key: nightly-build-${{ github.sha }}
restore-keys: |
nightly-build-
- name: Run Intel GPU Unit Tests
shell: bash
run: |
./scripts/unit_tests.sh release llvm-19 --skip-build
cp -r /space/chipStar/build ./ && ./scripts/unit_tests.sh release llvm-19 --skip-build

0 comments on commit 0be63dc

Please sign in to comment.