-
Notifications
You must be signed in to change notification settings - Fork 8
47 lines (43 loc) · 1.25 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
pull_request:
branches:
- main
push:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
check-environment:
name: Check environmnent
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
name: Install Xtensa Rust
with:
default: true
ldproxy: false
- 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
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@v3
- 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: ls $HOME/.cargo/bin/ldproxy | grep ldproxy
- run: cargo +esp --version | grep 1.64.0
- run: rustup default | grep stable