Skip to content

Commit 11049a4

Browse files
committed
modify build CI task
1 parent 70ec45e commit 11049a4

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

riscv-rt/.github/workflows/blobs.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

riscv-rt/.github/workflows/build.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
push:
3-
branches: [ master ]
3+
branches: [ master, global_asm ]
44
pull_request:
55
merge_group:
66

@@ -18,6 +18,9 @@ jobs:
1818
- riscv32imac-unknown-none-elf
1919
- riscv64imac-unknown-none-elf
2020
- riscv64gc-unknown-none-elf
21+
example:
22+
- empty
23+
- multi_core
2124
cargo_flags: [ "--no-default-features", "--all-features" ]
2225
include:
2326
# Nightly is only for reference and allowed to fail
@@ -33,6 +36,8 @@ jobs:
3336
targets: ${{ matrix.target }}
3437
- name: Build library
3538
run: cargo build --target ${{ matrix.target }} ${{ matrix.cargo_flags }}
39+
- name: Build example
40+
run: RUSTFLAGS="-C link-arg=-Texamples/device.x" cargo build --target ${{ matrix.target }} --example ${{ matrix.example }} ${{ matrix.cargo_flags }}
3641

3742
# Job to check that all the builds succeeded
3843
build-check:

riscv-rt/check-blobs.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)