|
|
@ -11,18 +11,28 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Cache arduino dep downloads
|
|
|
|
## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in.
|
|
|
|
uses: actions/cache@v2
|
|
|
|
## This makes sure we're using the current version of the library.
|
|
|
|
with:
|
|
|
|
- run: sudo apt-get install ccache
|
|
|
|
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 setup
|
|
|
|
- run: make -j $(nproc) smoke-sketches
|
|
|
|
- run: make -j $(nproc) smoke-sketches
|
|
|
|
run-google-tests:
|
|
|
|
run-google-tests:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
# - uses: mxschmitt/action-tmate@v3
|
|
|
|
- name: Cache arduino dep downloads
|
|
|
|
- run: sudo apt-get install ccache
|
|
|
|
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 setup
|
|
|
|
- run: make -j $(nproc) simulator-tests
|
|
|
|
- run: make -j $(nproc) simulator-tests
|
|
|
|
check-formatting:
|
|
|
|
check-formatting:
|
|
|
|