Skip to content

Commit

Permalink
remove checkout that's not needed and use commit hash as cache id, jo…
Browse files Browse the repository at this point in the history
…b dependency fixed for macos tiny tests
  • Loading branch information
pyYTn9 authored and pyYTn9 committed Jan 3, 2025
1 parent 753e6df commit 9cb0a01
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
runs-on: [self-hosted, macOS]
timeout-minutes: 200
steps:

- name: Checkout Code
uses: actions/checkout@v4

- name: Install Dependencies
run: |
brew update
Expand All @@ -50,7 +46,7 @@ jobs:
llvm-project/.git/info/sparse-checkout
llvm-project/build
#key: llvm-build-sparse-${{ github.run_id }}
key: llvm-build-sparse-12587661585
key: llvm-build-sparse-f9dc83dca5a058a339163a3c7d1903e423f46f17

- name: Get LLVM commit hash
run: |
Expand Down Expand Up @@ -78,7 +74,7 @@ jobs:
llvm-project/build-${{ env.LLVM_COMMIT_HASH }}
key: llvm-build-sparse-${{ env.LLVM_COMMIT_HASH }}
restore-keys: |
llvm-build-sparse-12587661585
llvm-build-sparse-f9dc83dca5a058a339163a3c7d1903e423f46f17
- name: Build LLVM
run: |
Expand Down Expand Up @@ -137,6 +133,7 @@ jobs:
macos_tiny_tests:
name: OSX Tests on (amd)
runs-on: [self-hosted, macOS]
needs: [build_comgr, build_remu]
timeout-minutes: 20
steps:
- name: Checkout Code
Expand Down

0 comments on commit 9cb0a01

Please sign in to comment.