Add accessor methods for Storage trait impls (#126) #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| working-directory: ./bbqueue | |
| jobs: | |
| build: | |
| name: "Build all crates" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install embedded target | |
| run: rustup target add thumbv6m-none-eabi | |
| # | |
| # BUILD + TEST | |
| # | |
| # no features, on std | |
| - name: Check bbqueue (no features, on host) | |
| run: cargo build --no-default-features | |
| # default features, on std | |
| - name: Check bbqueue (default features, on host) | |
| run: cargo build | |
| # std features, on std | |
| - name: Check bbqueue (std features, on host) | |
| run: cargo build --features=std | |
| # std features, on std, test | |
| - name: Test bbqueue (std features, on host) | |
| run: cargo test --features=std | |
| # no features, on mcu | |
| - name: Check bbqueue (no features, on mcu) | |
| run: cargo build --no-default-features --target=thumbv6m-none-eabi | |
| # default features, on mcu | |
| - name: Check bbqueue (no features, on mcu) | |
| run: cargo build --target=thumbv6m-none-eabi | |