Only build and test nightly

Prod is already built by opensk test.
This commit is contained in:
Julien Cretin
2021-06-09 15:10:30 +02:00
parent 67311e6c9f
commit 6aa6a8acf0

View File

@@ -12,33 +12,20 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
target: thumbv7em-none-eabi
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly toolchain: nightly
override: true
- name: Build Persistent store library
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path libraries/persistent_store/Cargo.toml --release --target=thumbv7em-none-eabi
- name: Unit testing of Persistent store library (release mode) - name: Unit testing of Persistent store library (release mode)
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
toolchain: nightly
command: test command: test
args: --manifest-path libraries/persistent_store/Cargo.toml --release --features=std args: --manifest-path libraries/persistent_store/Cargo.toml --release --features=std
- name: Unit testing of Persistent store library (debug mode) - name: Unit testing of Persistent store library (debug mode)
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
toolchain: nightly
command: test command: test
args: --manifest-path libraries/persistent_store/Cargo.toml --features=std args: --manifest-path libraries/persistent_store/Cargo.toml --features=std