|
|
@ -4,17 +4,18 @@ on: [push, pull_request]
|
|
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
BOARD_HARDWARE_PATH: ../hardware
|
|
|
|
BOARD_HARDWARE_PATH: ../hardware
|
|
|
|
ARDUINO_PATH: ./arduino-1.8.13
|
|
|
|
ARDUINO_DIRECTORIES_USER: ${GITHUB_WORKSPACE}/.arduino/user
|
|
|
|
ARDUINO_DOWNLOAD_URL: https://downloads.arduino.cc/arduino-1.8.13-linux64.tar.xz
|
|
|
|
KALEIDOSCOPE_ETC_DIR: ${GITHUB_WORKSPACE}/etc
|
|
|
|
|
|
|
|
BOARD_HARDWARE_PATH: ${ARDUINO_DIRECTORIES_USER}/hardware
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
smoke-sketches:
|
|
|
|
smoke-sketches:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: git clone --quiet --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../hardware/keyboardio
|
|
|
|
|
|
|
|
- run: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in.
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
## 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: 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
|
|
|
@ -24,9 +25,7 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: git clone --quiet --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../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: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
|
|
|
# - 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
|
|
|
@ -36,7 +35,7 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: git clone --quiet --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../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: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
# - run: make adjust-git-timestamps
|
|
|
|
# - run: make adjust-git-timestamps
|
|
|
@ -45,7 +44,7 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: git clone --quiet --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../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: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: make shellcheck
|
|
|
|
- run: make shellcheck
|
|
|
@ -53,7 +52,7 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: git clone --quiet --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../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: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
# - run: make adjust-git-timestamps
|
|
|
|
# - run: make adjust-git-timestamps
|
|
|
@ -62,7 +61,7 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: git clone --quiet --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../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: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
- run: make find-filename-conflicts
|
|
|
|
- run: make find-filename-conflicts
|
|
|
|