diff --git a/.github/workflows/build-arm.yaml b/.github/workflows/build-arm.yaml index 039e26dac..c1ca5b5dd 100644 --- a/.github/workflows/build-arm.yaml +++ b/.github/workflows/build-arm.yaml @@ -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 }} diff --git a/.github/workflows/build-riscv.yaml b/.github/workflows/build-riscv.yaml index 40ee9011f..70ad39f51 100644 --- a/.github/workflows/build-riscv.yaml +++ b/.github/workflows/build-riscv.yaml @@ -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 }}