Build binaries #579
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build binaries | |
on: | |
schedule: | |
- cron: "0 3 */2 * *" | |
push: | |
pull_request: | |
paths: | |
- '.github/workflows/*.yml' | |
- './scripts/*.sh' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y-%m-%d')" | |
- name: Checkout builder | |
uses: actions/checkout@v1 | |
- name: Install arm toolchain | |
run: ./scripts/install_arm.sh | |
- name: Install ESP-IDF toolchain | |
run: ./scripts/install_espidf.sh | |
- name: Checkout ulab/micropython | |
run: ./scripts/init.sh | |
- name: Create artifacts directory | |
run: mkdir ./artifacts | |
# this section is only for test purposes | |
# - name: Compile unix port | |
# if: always() | |
# # run: ./scripts/unix.sh | |
- name: Compile for Adafruit Feather RP2040 | |
if: always() | |
run: ./scripts/rp2/adafruit_feather_rp2040.sh | |
- name: Compile for Adafruit Itsybitsy RP2040 | |
if: always() | |
run: ./scripts/rp2/adafruit_itsybitsy_rp2040.sh | |
- name: Compile for Adafruit QTPY RP2040 | |
if: always() | |
run: ./scripts/rp2/adafruit_qtpy_rp2040.sh | |
- name: Compile for Pimoroni Pico Lipo 4MB | |
if: always() | |
run: ./scripts/rp2/pimoroni_picolipo_4MB.sh | |
- name: Compile for Pimoroni Pico Lipo 16MB | |
if: always() | |
run: ./scripts/rp2/pimoroni_picolipo_16MB.sh | |
- name: Compile for raspberry nano | |
if: always() | |
run: ./scripts/rp2/arduino_nano_connect.sh | |
- name: Compile for raspberry pico | |
if: always() | |
run: ./scripts/rp2/pico.sh | |
- name: Compile for raspberry pico with UART and VFAT support | |
if: always() | |
run: ./scripts/rp2/pico_uart_vfat.sh | |
- name: Compile for raspberry pico W | |
if: always() | |
run: ./scripts/rp2/pico_w.sh | |
- name: Compile for PYBD_SF6 | |
if: always() | |
run: ./scripts/stm32/pybd_sf6.sh | |
- name: Compile for pybv10 board | |
if: always() | |
run: ./scripts/stm32/pybv10.sh | |
- name: Compile for pybv11 board | |
if: always() | |
run: ./scripts/stm32/pybv11.sh | |
- name: Compile for ESP32 GENERIC | |
if: always() | |
run: ./scripts/esp32/generic.sh | |
- name: Compile for ESP32 GENERIC C3 | |
if: always() | |
run: ./scripts/esp32/generic-c3.sh | |
- name: Compile for ESP32 S2 | |
if: always() | |
run: ./scripts/esp32/generic-s2.sh | |
- name: Compile for ESP32 S3 | |
if: always() | |
run: ./scripts/esp32/generic-s3.sh | |
# Take this out for now | |
# - name: Compile for ESP32 UNICORE | |
# if: always() | |
# run: ./scripts/esp32/unicore.sh | |
- name: Compile for Sparkfun SAMD51 Thing Plus | |
if: always() | |
run: ./scripts/samd/sparkfun_thing_plus.sh | |
- name: Compile for Teensy 41 | |
if: always() | |
run: ./scripts/mimxrt/teensy41.sh | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
automatic_release_tag: "latest" | |
title: "Release date ${{ steps.date.outputs.date }}" | |
files: ./artifacts/* |