From fa6b6dc6bddf9712a4950f0779ee67c03e1be8c4 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 27 Mar 2022 20:26:42 -0700 Subject: [PATCH] Try a fancy new ccache action --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8bee6b85..86483dfb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,11 +16,8 @@ jobs: with: path: ${{ github.workspace}}/.arduino/downloads key: ${{ runner.os }}-arduino-downloads - - run: sudo apt update - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - run: make setup - - run: make -j $(nproc) smoke-sketches + - run: KALEIDOSCOPE_TEMP_PATH=${{ github.workspace}}/.kaleidoscope-temp make -j $(nproc) smoke-sketches run-google-tests: runs-on: ubuntu-20.04 steps: @@ -34,7 +31,7 @@ jobs: - name: ccache uses: hendrikmuhs/ccache-action@v1.2 - run: make setup - - run: make -j $(nproc) simulator-tests + - run: KALEIDOSCOPE_CCACHE=1 make -j $(nproc) --output-sync=recurse simulator-tests check-formatting: runs-on: ubuntu-latest steps: