Checkout submodules for CI build

This commit is contained in:
geeksville 2020-07-09 20:31:16 -07:00
parent 7e53731fe6
commit 6954d0d5f4
3 changed files with 6 additions and 12 deletions

View File

@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Checkout submodules
uses: textbook/git-checkout-submodule-action@master
- name: Setup Python - name: Setup Python
uses: actions/setup-python@master uses: actions/setup-python@master
with: with:
@ -18,4 +20,4 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -U platformio pip install -U platformio
- name: Build - name: Build
run: platformio run -e tbeam -e nrf52dk run: platformio run -e tbeam -e nrf52840dk

View File

@ -10,14 +10,6 @@ nrf52840 256KB RAM, 1MB flash
Manual hacks needed to build (for now): Manual hacks needed to build (for now):
platform.json
"framework-arduinoadafruitnrf52": {
"type": "framework",
"optional": true,
"version": "https://github.com/meshtastic/Adafruit_nRF52_Arduino.git"
},
kevinh@kevin-server:~/.platformio/packages/framework-arduinoadafruitnrf52/variants$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/* . kevinh@kevin-server:~/.platformio/packages/framework-arduinoadafruitnrf52/variants$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/* .
## Initial work items ## Initial work items

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html ; https://docs.platformio.org/page/projectconf.html
[platformio] [platformio]
default_envs = nrf52dk ; Note: the github actions CI test build can't yet build NRF52 targets default_envs = nrf52840dk ; Note: the github actions CI test build can't yet build NRF52 targets
[common] [common]
; common is not currently used ; common is not currently used
@ -169,12 +169,12 @@ debug_init_break =
; The NRF52840-dk development board ; The NRF52840-dk development board
; Note: By default no lora device is created for this build - it uses a simulated interface ; Note: By default no lora device is created for this build - it uses a simulated interface
[env:nrf52dk] [env:nrf52840dk]
extends = nrf52_base extends = nrf52_base
board = nrf52840_dk board = nrf52840_dk
; The NRF52840-dk development board, but @geeksville's board - which has a busted oscilliator ; The NRF52840-dk development board, but @geeksville's board - which has a busted oscilliator
[env:nrf52dk-geeksville] [env:nrf52840dk-geeksville]
extends = nrf52_base extends = nrf52_base
board = nrf52840_dk_modified board = nrf52840_dk_modified