Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Check xtensa-lx-rt package in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Apr 2, 2024
1 parent 8277c17 commit 6763728
Showing 1 changed file with 31 additions and 21 deletions.
52 changes: 31 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,37 @@ jobs:
- name: check (all features)
run: cd xtensa-lx/ && cargo build --features=spin

# xtensa-lx-rt:
# runs-on: ubuntu-latest
#
# strategy:
# fail-fast: false
# matrix:
# chip: ["esp32", "esp32s2", "esp32s3"]
#
# steps:
# - uses: actions/checkout@v4
# - uses: esp-rs/xtensa-toolchain@v1.5
# with:
# default: true
# ldproxy: false
# - uses: Swatinem/rust-cache@v2
#
# # Build the 'xtensa-lx-rt' package:
# - name: check (${{ matrix.chip }}, no features)
# run: cd xtensa-lx-rt/ && cargo build --features=${{ matrix.chip }}
# - name: check (${{ matrix.chip }}, all features)
# run: cd xtensa-lx-rt/ && cargo build --features=${{ matrix.chip }},float-save-restore
xtensa-lx-rt:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
chip: ["esp32", "esp32s2", "esp32s3"]

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: esp-rs/xtensa-toolchain@v1.5
with:
default: true
ldproxy: false
- uses: Swatinem/rust-cache@v2

# Build the 'xtensa-lx-rt' package:
- name: check (${{ matrix.chip }}, no features)
run: |
cd xtensa-lx-rt
cargo build -Zbuild-std=core \
--target=xtensa-${{ matrix.chip }}-none-elf \
--features=${{ matrix.chip }}
- name: check (${{ matrix.chip }}, all features)
run: |
cd xtensa-lx-rt
cargo build -Zbuild-std=core \
--target=xtensa-${{ matrix.chip }}-none-elf \
--features=${{ matrix.chip }},float-save-restore
# --------------------------------------------------------------------------
# Lint
Expand Down

0 comments on commit 6763728

Please sign in to comment.