Skip to content

New package releases (#151) #268

New package releases (#151)

New package releases (#151) #268

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MSRV: "1.65.0"
# Cancel any currently running workflows from the same PR, branch, or
# tag when a new workflow is triggered.
#
# https://stackoverflow.com/a/66336834
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
# --------------------------------------------------------------------------
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
build: [
# Xtensa:
{ package: "esp32", target: "xtensa-esp32-none-elf" },
{ package: "esp32s2", target: "xtensa-esp32s2-none-elf" },
{ package: "esp32s3", target: "xtensa-esp32s3-none-elf" },
# RISC-V:
{ package: "esp32c2", target: "riscv32imc-unknown-none-elf" },
{ package: "esp32c3", target: "riscv32imc-unknown-none-elf" },
{ package: "esp32c6", target: "riscv32imac-unknown-none-elf" },
{ package: "esp32h2", target: "riscv32imac-unknown-none-elf" },
# RISC-V (Ultra) Low-Power:
{ package: "esp32c6-lp", target: "riscv32imac-unknown-none-elf" },
{ package: "esp32s2-ulp", target: "riscv32imc-unknown-none-elf" },
{ package: "esp32s3-ulp", target: "riscv32imc-unknown-none-elf" },
]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/check
with:
msrv: ${{ env.MSRV }}
package: ${{ matrix.build.package }}
target: ${{ matrix.build.target }}