Repository navigation
Linux Kernel RISC-V CI #103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ |