workflow: add litex_fomu to ci

This adds fomu and litex and fomu to build on ci.  It requires downloading
a riscv toolchain.

Signed-off-by: Sean Cross <sean@xobs.io>
crypto-aes
Sean Cross 3 years ago
parent 065441e58c
commit 56ef51d392
  1. 4
      .github/workflows/build.yml
  2. 3
      tools/build_board_info.py

@ -167,6 +167,7 @@ jobs:
- "feather_nrf52840_express"
- "feather_radiofruit_zigbee"
- "feather_stm32f405_express"
- "fomu"
- "gemma_m0"
- "grandcentral_m4_express"
- "hallowing_m0_express"
@ -254,10 +255,13 @@ jobs:
pip install requests sh click setuptools awscli
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
- name: Versions
run: |
gcc --version
arm-none-eabi-gcc --version
riscv64-unknown-elf-gcc --version
python3 --version
- uses: actions/checkout@v1
with:

@ -12,7 +12,7 @@ from sh.contrib import git
sys.path.append("adabot")
import adabot.github_requests as github
SUPPORTED_PORTS = ["nrf", "atmel-samd", "stm", "cxd56", "mimxrt10xx"]
SUPPORTED_PORTS = ["nrf", "atmel-samd", "stm", "cxd56", "mimxrt10xx", "litex"]
BIN = ('bin',)
UF2 = ('uf2',)
@ -32,6 +32,7 @@ extension_by_port = {
"stm": BIN,
"cxd56": SPK,
"mimxrt10xx": HEX_UF2,
"litex": BIN,
}
# Per board overrides

Loading…
Cancel
Save