github: Add Tock CI
Signed-off-by: Alistair Francis <alistair@alistair23.me>
This commit is contained in:
parent
ada400630d
commit
84c6e8c9ed
1 changed files with 21 additions and 0 deletions
21
.github/workflows/main.yml
vendored
21
.github/workflows/main.yml
vendored
|
@ -202,6 +202,27 @@ jobs:
|
||||||
. ~/esp/esp-idf/export.sh
|
. ~/esp/esp-idf/export.sh
|
||||||
idf.py build
|
idf.py build
|
||||||
|
|
||||||
|
tock-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: Setup Rust
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y gcc-arm-none-eabi
|
||||||
|
cargo install elf2tab
|
||||||
|
|
||||||
|
- name: Build the example
|
||||||
|
run: |
|
||||||
|
cd $PWD/examples/NonArduino/Tock
|
||||||
|
./build.sh
|
||||||
|
|
||||||
rpi-build:
|
rpi-build:
|
||||||
runs-on: [self-hosted, ARM64]
|
runs-on: [self-hosted, ARM64]
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Reference in a new issue