Skip to content

Commit

Permalink
Add stm32 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
diondokter committed Sep 25, 2023
1 parent 2d6b579 commit a6c7d7f
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,26 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Build no-std
uses: actions-rs/cargo@v1
with:
command: build
toolchain: stable
args: --no-default-features
- name: Checkout sources
uses: actions/checkout@v4

- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Build no-std
uses: actions-rs/cargo@v1
with:
command: build
toolchain: stable
args: --no-default-features

- name: Build stm32
working-directory: statime-stm32
run: cargo build

# Build std is handled by test job

test:
Expand Down

0 comments on commit a6c7d7f

Please sign in to comment.