|
|
@ -5,10 +5,10 @@ on: [push, pull_request]
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
LC_ALL: C
|
|
|
|
LC_ALL: C
|
|
|
|
ARDUINO_DIRECTORIES_USER: ${{ github.workspace }}/.arduino/user
|
|
|
|
ARDUINO_DIRECTORIES_USER: ${{ github.workspace }}/.arduino/user
|
|
|
|
CLANG_FORMAT_CMD: clang-format-12
|
|
|
|
CLANG_FORMAT_CMD: clang-format-14
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
smoke-sketches:
|
|
|
|
smoke-sketches:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Cache arduino dep downloads
|
|
|
|
- name: Cache arduino dep downloads
|
|
|
@ -19,7 +19,7 @@ jobs:
|
|
|
|
- run: make setup
|
|
|
|
- run: make setup
|
|
|
|
- run: KALEIDOSCOPE_TEMP_PATH=${{ github.workspace}}/.kaleidoscope-temp make -j $(nproc) smoke-sketches
|
|
|
|
- run: KALEIDOSCOPE_TEMP_PATH=${{ github.workspace}}/.kaleidoscope-temp make -j $(nproc) smoke-sketches
|
|
|
|
run-google-tests:
|
|
|
|
run-google-tests:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Cache arduino dep downloads
|
|
|
|
- name: Cache arduino dep downloads
|
|
|
@ -33,27 +33,27 @@ jobs:
|
|
|
|
- run: make setup
|
|
|
|
- run: make setup
|
|
|
|
- run: KALEIDOSCOPE_CCACHE=1 make -j $(nproc) --output-sync=recurse simulator-tests
|
|
|
|
- run: KALEIDOSCOPE_CCACHE=1 make -j $(nproc) --output-sync=recurse simulator-tests
|
|
|
|
check-code-style:
|
|
|
|
check-code-style:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: KALEIDOSCOPE_CODE_FORMATTER=clang-format-12 make check-code-style
|
|
|
|
- run: KALEIDOSCOPE_CODE_FORMATTER=clang-format-14 make check-code-style
|
|
|
|
check-shellcheck:
|
|
|
|
check-shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: make shellcheck
|
|
|
|
- run: make shellcheck
|
|
|
|
check-cpplint:
|
|
|
|
check-cpplint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: make cpplint
|
|
|
|
- run: make cpplint
|
|
|
|
find-filename-conflicts:
|
|
|
|
find-filename-conflicts:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: make find-filename-conflicts
|
|
|
|
- run: make find-filename-conflicts
|
|
|
|
publish-arduino-package-on-every-commit:
|
|
|
|
publish-arduino-package-on-every-commit:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|