Skip to content

Commit

Permalink
Test the toolchian action
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Feb 3, 2025
1 parent 374f316 commit ae2d54c
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v4

# Install the Rust toolchain for Xtensa devices:
- uses: esp-rs/xtensa-toolchain@v1.5
- uses: esp-rs/xtensa-toolchain@main
with:
ldproxy: false
version: 1.84.0.0
Expand Down Expand Up @@ -113,24 +113,15 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: esp-rs/xtensa-toolchain@main
with:
ldproxy: false
version: ${{ env.MSRV }}
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf
toolchain: ${{ env.MSRV }}
components: rust-src
- name: install esp toolchain
run: |
if [ ! -f "$HOME/.cargo/bin/espup" ]; then
curl -L https://github.com/esp-rs/espup/releases/latest/download/espup-aarch64-apple-darwin -o "$HOME/.cargo/bin/espup"
chmod a+x "$HOME/.cargo/bin/espup"
fi
source "$HOME/.cargo/env"
"$HOME/.cargo/bin/espup" install -l debug --export-file $HOME/exports --targets all --toolchain-version 1.84.0.0
source "$HOME/exports"
echo "$PATH" >> "$GITHUB_PATH"
echo "LIBCLANG_PATH=${LIBCLANG_PATH}" >> "$GITHUB_ENV"
rustup override unset
- uses: Swatinem/rust-cache@v2

# Verify the MSRV for all RISC-V chips.
Expand Down

0 comments on commit ae2d54c

Please sign in to comment.