Files
OpenSK/.github/workflows/persistent_store_test.yml
Julien Cretin bb4b94a141 Build persistent store with frozen compiler
But still make sure it passes tests with the most recent nightly.
2021-06-09 13:42:28 +02:00

45 lines
1.2 KiB
YAML

---
name: Persistent store tests
on:
push:
paths:
- 'libraries/peristent_store/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
persistent_store_test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
target: thumbv7em-none-eabi
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Build Persistent store library
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path libraries/persistent_store/Cargo.toml --release --target=thumbv7em-none-eabi
- name: Unit testing of Persistent store library (release mode)
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: test
args: --manifest-path libraries/persistent_store/Cargo.toml --release --features=std
- name: Unit testing of Persistent store library (debug mode)
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: test
args: --manifest-path libraries/persistent_store/Cargo.toml --features=std