Skip to content

Commit 02790d7

Browse files
josecmdanielRep
authored andcommitted
feat(ci/actions): add clang build
Signed-off-by: Jose Martins <[email protected]>
1 parent 7422085 commit 02790d7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/build-arm.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@ jobs:
2323
"GICV2",
2424
"GICV3",
2525
]
26+
cross_compile: [
27+
"",
28+
"CROSS_COMPILE=clang",
29+
]
2630
steps:
2731
- uses: actions/checkout@v4
2832
with:
2933
submodules: recursive
30-
- run: make PLATFORM=${{ matrix.platform }} GIC_VERSION=${{ matrix.gic }} CONFIG=null
34+
- run: make PLATFORM=${{ matrix.platform }} GIC_VERSION=${{ matrix.gic }} \
35+
CONFIG=null ${{ matrix.cross_compile }}

.github/workflows/build-riscv.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ jobs:
2424
"IPIC_SBI",
2525
"IPIC_ACLINT",
2626
]
27+
cross_compile: [
28+
"",
29+
"CROSS_COMPILE=clang",
30+
]
2731
steps:
2832
- uses: actions/checkout@v4
2933
with:
3034
submodules: recursive
3135
- run: make PLATFORM=${{ matrix.platform }} IRQC=${{ matrix.irqc }} \
32-
IPIC=${{ matrix.ipic }} CONFIG=null
36+
IPIC=${{ matrix.ipic }} CONFIG=null ${{ matrix.cross_compile }}

0 commit comments

Comments
 (0)