Skip to content

Commit

Permalink
ci: 🧪 Cover more arguments in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez authored and jessebraham committed Dec 21, 2022
1 parent 0b7f70e commit ba92ffb
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: CI

on:
pull_request:
branches:
- main
push:

name: CI

jobs:
check-targets:
name: Check targets
check-environment:
name: Check environmnent
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,3 +20,27 @@ jobs:
- run: rustc --print target-list | grep xtensa
- run: env | grep LIBCLANG_PATH
- run: xtensa-esp32-elf-gcc --version
- run: xtensa-esp32s2-elf-gcc --version
- run: xtensa-esp32s3-elf-gcc --version
- run: riscv32-esp-elf-gcc --version

check-arguments:
name: Check `buildtarget`, `version`, `override` and `ldproxy` arguments
runs-on: ubuntu-latest
steps:
- run: rustup update stable && rustup default stable
- uses: actions/checkout@v2
- uses: ./
name: Install Xtensa Rust
with:
override: false
ldproxy: true
buildtargets: esp32,esp32c3
version: 1.64.0.0
- run: rustc +esp --print target-list | grep xtensa
- run: env | grep LIBCLANG_PATH
- run: xtensa-esp32-elf-gcc --version
- run: riscv32-esp-elf-gcc --version
- run: ls $HOME/.cargo/bin/ldproxy | grep ldproxy
- run: cargo +esp --version | grep 1.64.0
- run: rustup default | grep stable

0 comments on commit ba92ffb

Please sign in to comment.