Skip to content

Linux Kernel RISC-V CI #108

Linux Kernel RISC-V CI

Linux Kernel RISC-V CI #108

name: Linux Kernel RISC-V CI
on:
schedule:
# Daily at 18:00 IST ≈ 12:30 UTC (adjust to your preferred time)
- cron: '30 12 * * 1,2,5'
workflow_dispatch: # ✅ Manual trigger button
permissions:
contents: read
env:
CI_PROFILE: stress
jobs:
kernel-build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- arch: x86_64
config: defconfig
- arch: riscv
config: defconfig
- arch: riscv
config: randconfig
- arch: riscv
config: allyesconfig
- arch: riscv
config: allnoconfig
- arch: riscv
config: allmodconfig
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/kernel-ci-prepare
- name: Install CI host tools
run: |
sudo apt install -y \
sparse
- name: Set build env
run: |
echo "ARCH=${{ matrix.arch }}" >> $GITHUB_ENV
echo "CONFIG=${{ matrix.config }}" >> $GITHUB_ENV
- name: Build kernel
run: |
chmod +x .github/ci/build-kernel.sh
.github/ci/build-kernel.sh
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: kernel-${{ matrix.arch }}-${{ matrix.config }}-${{ github.run_id }}
retention-days: 7
path: out/