Skip to content

Commit 64f2090

Browse files
authored
✨ feat(workflows): 添加 board.toml 配置文件并更新测试矩阵中的板名称和依赖版本 (#71)
* ✨ feat(workflows): 添加 board.toml 配置文件并更新测试矩阵中的板名称和依赖版本 * chore(workflows): remove unused root board config
1 parent ab291a2 commit 64f2090

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/board.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
board_type = "orangepi5plus"
2+
fail_regex = []
3+
success_regex = ["All tests passed!"]

.github/workflows/test-real.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ jobs:
88
strategy:
99
matrix:
1010
include:
11-
- board: phytiumpi
11+
- board: PhytiumPi
1212
suit_name: el1
1313
config: "./test-suit/timer/aarch64.toml"
14-
- board: phytiumpi
14+
- board: PhytiumPi
1515
suit_name: smp
1616
config: "./test-suit/smp/aarch64.toml"
17-
- board: roc-rk3568-pc
17+
- board: ROC-RK3568-PC
1818
suit_name: el1
1919
config: "./test-suit/timer/aarch64.toml"
20-
- board: roc-rk3568-pc
20+
- board: ROC-RK3568-PC
2121
suit_name: smp
2222
config: "./test-suit/smp/aarch64.toml"
2323

2424
fail-fast: false
2525
runs-on:
2626
- self-hosted
2727
- linux
28-
- ${{ matrix.board }}
28+
- board
2929

3030
steps:
3131
- name: Clean up workspace
@@ -40,10 +40,9 @@ jobs:
4040
clean: true
4141

4242
- name: Install dependencies
43-
run: cargo +stable install ostool --version ^0.8
43+
run: cargo +stable install ostool --version ^0.12
4444

4545
- name: Run tests
4646
run: |
47-
echo $BOARD_POWER_RESET
4847
export RUST_LOG=debug
49-
ostool run -c ${{ matrix.config }} uboot -u .github/workflows/uboot.toml
48+
ostool board run -c ${{ matrix.config }} --board-config .github/workflows/board.toml -b ${{ matrix.board }}

0 commit comments

Comments
 (0)