Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arduino cli build to GH Actions #218

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/arduino-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Arduino CLI CI
on:
schedule:
- cron: '0 0 * * 5'
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
release:
types: [ published, created, edited ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform_version: [ "latest", "2.0.17" ]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
fqbn: esp32:esp32:esp32
platforms: |
- name: "esp32:esp32"
version: ${{ matrix.platform_version }}
libraries: |
- name: TFT_eSPI
- name: XPT2046_Touchscreen
- name: XPT2046_Bitbang_Slim
- source-url: https://github.com/schreibfaul1/ESP32-audioI2S.git
sketch-paths: |
- "Examples/Basics"
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ on:
branches: ["main"]
paths-ignore:
- '**.md'

pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
Loading