Skip to content

Commit

Permalink
feat(ci/actions): add clang build
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Martins <[email protected]>
  • Loading branch information
josecm committed Sep 18, 2024
1 parent 1fdbbb2 commit d812ff3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ jobs:
"GICV2",
"GICV3",
]
cross_compile: [
"",
"CROSS_COMPILE=clang",
]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: make PLATFORM=${{ matrix.platform }} GIC_VERSION=${{ matrix.gic }} CONFIG=null
- run: make PLATFORM=${{ matrix.platform }} GIC_VERSION=${{ matrix.gic }} \
CONFIG=null ${{ matrix.cross_compile }}
6 changes: 5 additions & 1 deletion .github/workflows/build-riscv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ jobs:
"IPIC_SBI",
"IPIC_ACLINT",
]
cross_compile: [
"",
"CROSS_COMPILE=clang",
]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: make PLATFORM=${{ matrix.platform }} IRQC=${{ matrix.irqc }} \
IPIC=${{ matrix.ipic }} CONFIG=null
IPIC=${{ matrix.ipic }} CONFIG=null ${{ matrix.cross_compile }}

0 comments on commit d812ff3

Please sign in to comment.