Debian Codegraph @

.github/workflows/vmtest-build.yml

raw
1 name: vmtest Build
2
3 on:
4 schedule:
5 - cron: '16 6 * * MON'
6 workflow_dispatch:
7
8 jobs:
9 build:
10 strategy:
11 matrix:
12 flavor: [default, alternative, tiny]
13 arch: [x86_64, aarch64, ppc64, s390x, arm, riscv64]
14 fail-fast: false
15 max-parallel: 6
16 runs-on: ubuntu-22.04
17 permissions:
18 contents: write
19 env:
20 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
21 steps:
22 - uses: actions/checkout@v5
23 - name: Install dependencies
24 run: |
25 sudo apt-get update
26 sudo apt-get install dwarves libelf-dev
27 pip install aiohttp uritemplate
28 - name: Build and upload ${{ matrix.arch }} ${{ matrix.flavor }} kernels
29 run: python3 -m vmtest.manage --kernel-directory build/vmtest/linux.git --build-directory build/vmtest/kbuild -K -a ${{ matrix.arch }} -f ${{ matrix.flavor }}
30 - name: Upload kernel build logs
31 if: always()
32 uses: actions/upload-artifact@v4
33 with:
34 name: kernel-build-logs-${{ matrix.arch }}-${{ matrix.flavor }}
35 path: build/vmtest/kbuild/*.log
36 if-no-files-found: ignore
37 test:
38 needs: build
39 uses: ./.github/workflows/ci.yml
40 with:
41 test_all_python_versions: true
42 test_all_kernel_flavors: true