feat: Add studio core coverage targets.
* Cover stm32, RP2040, and nRF52 builds.
This commit is contained in:
parent
40e2cc9187
commit
67634b6557
2 changed files with 31 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -79,7 +79,7 @@ jobs:
|
||||||
try {
|
try {
|
||||||
console.log(`::group::${{ matrix.board}} ${shieldArgs.shield} Build`)
|
console.log(`::group::${{ matrix.board}} ${shieldArgs.shield} Build`)
|
||||||
|
|
||||||
const output = execSync(`west build -s app -p -b ${{ matrix.board }} -- ${shieldArgs.shield ? '-DSHIELD="' + shieldArgs.shield + '"' : ''} ${shieldArgs['cmake-args'] || ''}`);
|
const output = execSync(`west build -s app -p -b ${{ matrix.board }} ${shieldArgs.snippet ? '-S ' + shieldArgs.snippet : ''} -- ${shieldArgs.shield ? '-DSHIELD="' + shieldArgs.shield + '"' : ''} ${shieldArgs['cmake-args'] || ''}`);
|
||||||
|
|
||||||
console.log(output.toString());
|
console.log(output.toString());
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
@ -170,6 +170,7 @@ jobs:
|
||||||
perBoard[configuration.board].push({
|
perBoard[configuration.board].push({
|
||||||
shield: configuration.shield,
|
shield: configuration.shield,
|
||||||
'cmake-args': configuration['cmake-args'],
|
'cmake-args': configuration['cmake-args'],
|
||||||
|
snippet: configuration.snippet,
|
||||||
nickname: configuration.nickname
|
nickname: configuration.nickname
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,3 +40,32 @@ include:
|
||||||
- board: nice_nano_v2
|
- board: nice_nano_v2
|
||||||
shield: lily58_left nice_view_adapter nice_view
|
shield: lily58_left nice_view_adapter nice_view
|
||||||
nickname: "niceview"
|
nickname: "niceview"
|
||||||
|
- board: bdn9_rev2
|
||||||
|
snippet: studio-rpc-usb-uart
|
||||||
|
cmake-args: "-DCONFIG_ZMK_STUDIO=y"
|
||||||
|
nickname: "stm32-studio"
|
||||||
|
- board: nice_nano_v2
|
||||||
|
shield: reviung41
|
||||||
|
snippet: studio-rpc-usb-uart
|
||||||
|
cmake-args: "-DCONFIG_ZMK_STUDIO=y"
|
||||||
|
nickname: "nrf52-studio"
|
||||||
|
- board: nice_nano_v2
|
||||||
|
shield: corne_left
|
||||||
|
snippet: studio-rpc-usb-uart
|
||||||
|
cmake-args: "-DCONFIG_ZMK_STUDIO=y"
|
||||||
|
nickname: "split-left-studio"
|
||||||
|
- board: nice_nano_v2
|
||||||
|
shield: corne_right
|
||||||
|
snippet: studio-rpc-usb-uart
|
||||||
|
cmake-args: "-DCONFIG_ZMK_STUDIO=y"
|
||||||
|
nickname: "split-right-studio"
|
||||||
|
- board: sparkfun_pro_micro_rp2040
|
||||||
|
shield: reviung41
|
||||||
|
snippet: studio-rpc-usb-uart
|
||||||
|
cmake-args: "-DCONFIG_ZMK_STUDIO=y"
|
||||||
|
nickname: "rp2040-studio"
|
||||||
|
- board: seeeduino_xiao
|
||||||
|
shield: hummingbird
|
||||||
|
snippet: studio-rpc-usb-uart
|
||||||
|
cmake-args: "-DCONFIG_ZMK_STUDIO=y"
|
||||||
|
nickname: "samd21-studio"
|
||||||
|
|
Loading…
Add table
Reference in a new issue