Merge pull request #730 from betrusted-io/ci-coverage

Cover bao1x targets in CI
This commit is contained in:
bunnie 2025-11-17 17:46:50 +08:00 committed by GitHub
commit ba52e75ab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 1 deletions

View file

@ -2,6 +2,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
name: Build xous-core
@ -11,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
task: ["hosted-ci", "renode-image"]
task: ["bao1x-boot0", "bao1x-boot1", "bao1x-alt-boot1", "bao1x-baremetal-dabao", "dabao", "baosec", "hosted-bao1x-ci", "hosted-ci", "renode-image"]
steps:
- name: Install Ubuntu dependencies
run: |

View file

@ -379,6 +379,25 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Some("hosted-ci") => {
builder.target_hosted().add_services(&user_pkgs).hosted_build_only().add_apps(&get_cratespecs());
}
Some("hosted-bao1x-ci") => {
let bao_pkgs = [
"xous-ticktimer",
"keystore",
"xous-log",
"xous-names",
"bao1x-emu",
"bao-console",
"modals",
"pddb",
"bao-video",
"vault2",
];
builder
.target_hosted_baosec()
.add_services(&bao_pkgs)
.hosted_build_only()
.add_apps(&get_cratespecs());
}
// ------ Precursor hardware image configs ------
Some("app-image") => {