Skip to content

Added support for ULP timer operation. #3334

Added support for ULP timer operation.

Added support for ULP timer operation. #3334

name: API Baseline Check
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
merge_group:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# 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:
get-labels:
uses: ./.github/workflows/get-labels.yml
baseline-check:
needs: get-labels
if: |
!contains(needs.get-labels.outputs.labels, 'skip-ci-non-code-change') &&
!contains(needs.get-labels.outputs.labels, 'breaking-change-esp-hal')
runs-on: ubuntu-latest
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
steps:
- uses: actions/checkout@v6
# Install the Rust toolchain for Xtensa devices:
- uses: esp-rs/xtensa-toolchain@v1.6
with:
version: 1.93.0.0
# Install the Rust stable toolchain for RISC-V devices:
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf
toolchain: stable
components: rust-src
- name: Semver-Check
shell: bash
run: |
cargo xcheck semver-check download-baselines
cargo xcheck semver-check --chips esp32 check
cargo xcheck semver-check --chips esp32s2 check
cargo xcheck semver-check --chips esp32s3 check
cargo xcheck semver-check --chips esp32c2 check
cargo xcheck semver-check --chips esp32c3 check
# cargo xcheck semver-check --chips esp32c5 check # TODO: enable
cargo xcheck semver-check --chips esp32c6 check
cargo xcheck semver-check --chips esp32h2 check