mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
Merge pull request #730 from betrusted-io/ci-coverage
Cover bao1x targets in CI
This commit is contained in:
commit
ba52e75ab7
2 changed files with 23 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -2,6 +2,9 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
name: Build xous-core
|
name: Build xous-core
|
||||||
|
|
||||||
|
|
@ -11,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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:
|
steps:
|
||||||
- name: Install Ubuntu dependencies
|
- name: Install Ubuntu dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -379,6 +379,25 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
Some("hosted-ci") => {
|
Some("hosted-ci") => {
|
||||||
builder.target_hosted().add_services(&user_pkgs).hosted_build_only().add_apps(&get_cratespecs());
|
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 ------
|
// ------ Precursor hardware image configs ------
|
||||||
Some("app-image") => {
|
Some("app-image") => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue