Skip to content

Build binaries

Build binaries #313

Workflow file for this run

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 py nano
if: always()
run: ./scripts/rp2/arduino_nano_connect.sh
- name: Compile for raspberry py pico
if: always()
run: ./scripts/rp2/pico.sh
- name: Compile for raspberry py 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 S3
if: always()
run: ./scripts/esp32/s3.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/*