From 4fe56503b88e5a952e8f63995fc0de93d0bd88a7 Mon Sep 17 00:00:00 2001 From: HaoboGu Date: Fri, 1 Mar 2024 22:14:27 +0800 Subject: [PATCH] ci: build all examples in ci Signed-off-by: HaoboGu --- .github/workflows/build.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb1596e1..f018e8cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,12 +18,24 @@ jobs: - uses: actions/checkout@v3 - name: Install target run: rustup target add thumbv7em-none-eabihf thumbv6m-none-eabi - - name: Build + - name: Build rmk working-directory: ./rmk - run: cargo build --verbose + run: cargo build - name: Build rp2040 working-directory: ./boards/rp2040 - run: cargo build --verbose + run: cargo build - name: Build stm32h7 working-directory: ./boards/stm32h7 - run: cargo build --verbose + run: cargo build + - name: Build stm32f1 + working-directory: ./boards/stm32f1 + run: cargo build + - name: Build stm32f4 + working-directory: ./boards/stm32f4 + run: cargo build + - name: Build nrf52840 + working-directory: ./boards/nrf52840 + run: cargo build + - name: Build nrf52840 + working-directory: ./boards/nrf52840 + run: cargo build