Skip to content

Commit

Permalink
Improved and upgraded CI workflow pipelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Feb 24, 2024
1 parent c8e9deb commit a0b485b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1

- name: Install RISC-V GNU toolchain
run: sudo apt install gcc-riscv64-unknown-elf

- name: Install Python serial library
run: python3 -m pip install pyserial

Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install RISC-V GNU toolchain
run: sudo apt install gcc-riscv64-unknown-elf

- name: rishka-cc cargo build
run: cd tools/rishka-cc && cargo build --release

- name: Compiling Examples
run: |
cd tools/rishka-cc && cargo run -- ../../examples/sdk/blink.cpp --output blink
cd tools/rishka-cc && cargo run -- ../../examples/sdk/delay.cpp --output delay
cd tools/rishka-cc && cargo run -- ../../examples/sdk/hello.cpp --output hello
cd tools/rishka-cc && cargo run -- ../../examples/sdk/shell.cpp --output shell
cd tools/rishka-cc && cargo run -- ../../examples/sdk/sysinfo.cpp --output sysinfo

0 comments on commit a0b485b

Please sign in to comment.