|
38 | 38 | env: |
39 | 39 | ARCH: ${{ inputs.arch }} |
40 | 40 | ARTIFACTS_ARCHIVE: ${{ github.workspace }}/selftests-bpf-asan-${{ inputs.arch }}-${{ inputs.toolchain_full }}.tar.zst |
41 | | - KERNEL_ORIGIN: ${{ github.repository == 'kernel-patches/bpf-rc' && 'https://github.com/kernel-patches/bpf-rc.git' |
42 | | - || 'https://github.com/kernel-patches/bpf.git' |
43 | | - }} |
44 | | - KERNEL_REVISION: ${{ inputs.download_sources && 'bpf-next' || github.sha }} |
| 41 | + KERNEL_ORIGIN: 'https://github.com/theihor/bpf.git' |
| 42 | + KERNEL_REVISION: selftests-asan |
45 | 43 | REPO_ROOT: ${{ github.workspace }}/src |
46 | 44 | steps: |
47 | 45 |
|
|
64 | 62 | repo-root: ${{ env.REPO_ROOT }} |
65 | 63 |
|
66 | 64 | - name: Setup build environment |
67 | | - uses: libbpf/ci/setup-build-env@v4 |
| 65 | + uses: libbpf/ci/setup-build-env@selftests-asan |
68 | 66 | with: |
69 | 67 | arch: ${{ inputs.arch }} |
70 | 68 | gcc-version: ${{ inputs.gcc_version }} |
|
80 | 78 | run: zstd -d -T0 vmlinux-${{ inputs.arch }}-${{ inputs.toolchain_full }}.tar.zst --stdout | tar -xf - |
81 | 79 |
|
82 | 80 | - name: Build selftests/bpf/test_progs with ASAN |
83 | | - uses: libbpf/ci/build-selftests@v4 |
| 81 | + uses: libbpf/ci/build-selftests@selftests-asan |
84 | 82 | env: |
85 | 83 | KBUILD_OUTPUT: ${{ env.REPO_ROOT }}/kbuild-output |
86 | 84 | SELFTESTS_BPF_ASAN: 'true' |
|
93 | 91 |
|
94 | 92 | - name: Tar artifacts |
95 | 93 | id: tar-artifacts |
96 | | - uses: libbpf/ci/tar-artifacts@v4 |
| 94 | + uses: libbpf/ci/tar-artifacts@selftests-asan |
97 | 95 | env: |
98 | 96 | ARCHIVE_BPF_SELFTESTS: 'true' |
99 | 97 | ARCHIVE_KBUILD_OUTPUT: '' # emptystring means false |
@@ -147,7 +145,7 @@ jobs: |
147 | 145 | run: zstd -d -T0 selftests-bpf-asan-${{ inputs.arch }}-${{ inputs.toolchain_full }}.tar.zst --stdout | tar -xf - |
148 | 146 |
|
149 | 147 | - name: Run selftests |
150 | | - uses: libbpf/ci/run-vmtest@v4 |
| 148 | + uses: libbpf/ci/run-vmtest@selftests-asan |
151 | 149 | env: |
152 | 150 | ARCH: ${{ inputs.arch }} |
153 | 151 | DEPLOYMENT: ${{ env.DEPLOYMENT }} |
|
0 commit comments