Skip to content

Commit

Permalink
Replace actions/cache with ccache-action in GitHub Actions build work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
royshil committed Nov 25, 2024
1 parent e33f4cb commit eda15ae
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,9 @@ jobs:
- name: "Checkout"
uses: "actions/checkout@v4"

- uses: actions/cache@v4
id: ccache-cache
with:
path: ${{ github.workspace }}/.ccache
key: ccache-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt') }}

- name: ccache
uses: hendrikmuhs/[email protected]

- name: "Run build-macos.sh"
run: "./build-macos.sh ${{ steps.get-version.outputs.version }}"
env:
Expand Down Expand Up @@ -84,11 +81,8 @@ jobs:
- name: "Checkout"
uses: "actions/checkout@v4"

- uses: actions/cache@v4
id: ccache-cache
with:
path: ${{ github.workspace }}/.ccache
key: ccache-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt') }}
- name: ccache
uses: hendrikmuhs/[email protected]

- name: "Install Vulkan SDK"
if: ${{ matrix.accel == 'vulkan' }}
Expand Down Expand Up @@ -134,11 +128,8 @@ jobs:
- name: "Checkout"
uses: "actions/checkout@v4"

- uses: actions/cache@v4
id: ccache-cache
with:
path: ${{ github.workspace }}/.ccache
key: ccache-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt') }}
- name: ccache
uses: hendrikmuhs/[email protected]

- name: Install CUDA Toolkit
if: ${{ matrix.accel == 'cuda' }}
Expand Down

0 comments on commit eda15ae

Please sign in to comment.