Skip to content

fix(arduino-cli): support 1.x version #515

fix(arduino-cli): support 1.x version

fix(arduino-cli): support 1.x version #515

Workflow file for this run

name: STM32 Core build using arduino-cli
on:
push:
branches:
- main
paths-ignore:
- .github/**
- '!.github/workflows/Arduino-build.yml'
- '*.json'
- '**.md'
- keywords.txt
- CI/**
- '!CI/build/arduino-cli.py'
- '!CI/build/examples/**'
- cmake/**
- tools/**
pull_request:
paths-ignore:
- .github/**
- '!.github/workflows/Arduino-build.yml'
- '*.json'
- '**.md'
- keywords.txt
- CI/**
- '!CI/build/arduino-cli.py'
- '!CI/build/examples/**'
- cmake/**
- tools/**
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
core_build:
runs-on: ubuntu-latest
name: Core compilation
steps:
# First of all, clone the repo using the checkout action.
- name: Checkout
uses: actions/checkout@v4
- name: Compilation
id: Compile
uses: stm32duino/actions/compile-examples@v1
with:
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json'
# Use the output from the `Compile` step
- name: Compilation Errors
if: failure()
run: |
cat ${{ steps.Compile.outputs.compile-result }}
exit 1