diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f19747e6..8bee6b85 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,18 +11,28 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - -## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in. -## This makes sure we're using the current version of the library. - - run: sudo apt-get install ccache + - name: Cache arduino dep downloads + uses: actions/cache@v2 + 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-google-tests: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 -# - uses: mxschmitt/action-tmate@v3 - - run: sudo apt-get install ccache + - name: Cache arduino dep downloads + uses: actions/cache@v2 + 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) simulator-tests check-formatting: diff --git a/testing/makefiles/testcase.mk b/testing/makefiles/testcase.mk index 1629c51b..5bf4e46e 100644 --- a/testing/makefiles/testcase.mk +++ b/testing/makefiles/testcase.mk @@ -92,7 +92,6 @@ compile-sketch: ${TEST_OBJS} # If we have a test.ktest file, it should be processed into a c++ testcase - .PHONY: generate-testcase generate-testcase: $(if $(HAS_KTEST_FILE), ${SRC_DIR}/generated-testcase.cpp)