|
|
@ -3,10 +3,10 @@ name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
KALEIDOSCOPE_ETC_DIR: $(GITHUB_WORKSPACE)/etc
|
|
|
|
KALEIDOSCOPE_ETC_DIR: ${{ github.workspace }}/etc
|
|
|
|
KALEIDOSCOPE_BUILDER_DIR: $(GITHUB_WORKSPACE)/bin
|
|
|
|
KALEIDOSCOPE_BUILDER_DIR: ${{ github.workspace }}/bin
|
|
|
|
ARDUINO_DIRECTORIES_USER: $(GITHUB_WORKSPACE)/.arduino/user
|
|
|
|
ARDUINO_DIRECTORIES_USER: ${{ github.workspace }}/.arduino/user
|
|
|
|
BOARD_HARDWARE_PATH: $(ARDUINO_DIRECTORIES_USER)/hardware
|
|
|
|
BOARD_HARDWARE_PATH: ${{ github.workspace }}/.arduino/user/hardware
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
smoke-sketches:
|
|
|
|
smoke-sketches:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in.
|
|
|
|
## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in.
|
|
|
|
## This makes sure we're using the current version of the library.
|
|
|
|
## This makes sure we're using the current version of the library.
|
|
|
|
- run: git clone --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio $ARDUINO_DIRECTORIES_USER/hardware/keyboardio
|
|
|
|
- run: git clone --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio $ARDUINO_DIRECTORIES_USER}/hardware/keyboardio
|
|
|
|
# - run: make adjust-git-timestamps
|
|
|
|
# - run: make adjust-git-timestamps
|
|
|
|
- run: make install-arduino-cli
|
|
|
|
- run: make install-arduino-cli
|
|
|
|
- run: make configure-arduino-cli
|
|
|
|
- run: make configure-arduino-cli
|
|
|
|