Skip to content

Commit

Permalink
feat(ci): add build test github action
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Martins <josemartins90@gmail.com>
  • Loading branch information
josecm committed Oct 12, 2023
1 parent 3c27cae commit d661d35
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-arm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Arm Build

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

jobs:

build-arm:
runs-on: ubuntu-latest
container: baoproject/bao:latest
strategy:
matrix:
platform: [
"fvp-a",
"fvp-a-aarch32",
"fvp-r",
"fvp-r-aarch32"
]
gic: [
"GICV2",
"GICV3",
]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: make PLATFORM=${{ matrix.platform }} GIC_VERSION=${{ matrix.gic }} CONFIG=null
27 changes: 27 additions & 0 deletions .github/workflows/build-riscv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: RISC-V Build

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

jobs:

build-arm:
runs-on: ubuntu-latest
container: baoproject/bao:latest
strategy:
matrix:
platform: [
"qemu-riscv64-virt",
]
irqc: [
"PLIC",
"APLIC",
]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: make PLATFORM=${{ matrix.platform }} IRQC=${{ matrix.irqc }} CONFIG=null

0 comments on commit d661d35

Please sign in to comment.