Skip to content

Commit

Permalink
try configure GHA cache with ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Sep 17, 2024
1 parent f0da3ce commit 538cdd2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/_extension_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,11 @@ jobs:
echo "DUCKDB_PLATFORM=${{ matrix.duckdb_arch }}" >> docker_env.txt
echo "TOOLCHAIN_FLAGS=${{ matrix.duckdb_arch == 'linux_arm64' && '-DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_Fortran_COMPILER=aarch64-linux-gnu-gfortran' || '' }}" >> docker_env.txt
- name: Create ccache dir (TODO populate using gh cache)
run: |
mkdir ccache_dir
- name: Configure cache for ccache
uses: actions/cache@v4
with:
path: ./ccache-dir
key: ${{ github.job }}-${{ matrix.duckdb_arch }}

- name: Build extension
run: |
Expand Down

0 comments on commit 538cdd2

Please sign in to comment.