Skip to content

src/riot-rs-embassy: use thread flag for Waker #26

src/riot-rs-embassy: use thread flag for Waker

src/riot-rs-embassy: use thread flag for Waker #26

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
container:
image: kaspar030/riot.rs-build:latest
steps:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.2
with:
version: "v0.4.0-pre.9"
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
targets: thumbv7m-none-eabi,thumbv7em-none-eabi
- name: rust cache
uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: cargo-binstall
- name: Check out repository code
uses: actions/checkout@v3
- name: "installing prerequisites"
run: |
apt-get install -y ninja-build
git config --global init.defaultBranch main
git config --global user.email "ci@riot-labs.de"
git config --global user.name "CI"
cargo binstall -y --no-symlinks laze
cargo binstall -y --no-symlinks c2rust
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: "riot-rs-rt unittests"
run: laze -C src/riot-rs-rt task -b lm3s6965evb cargo-test
- name: "riot-rs-core unittests"
run: laze -C src/riot-rs-core task -b lm3s6965evb cargo-test