From 7b95274260cf70911b6ebd6323bc65f90770af59 Mon Sep 17 00:00:00 2001 From: Manu Bretelle Date: Mon, 12 Feb 2024 16:12:40 -0800 Subject: [PATCH 1/2] scripts: blacken veristat_compare.py In a previous push, I forgot to run `black` on a file I modified. Thje linter has been unhappy since... Fix this. Signed-off-by: Manu Bretelle --- .github/scripts/veristat_compare.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/scripts/veristat_compare.py b/.github/scripts/veristat_compare.py index 67a48252..07271b8c 100644 --- a/.github/scripts/veristat_compare.py +++ b/.github/scripts/veristat_compare.py @@ -57,17 +57,16 @@ ) -TEXT_SUMMARY_TEMPLATE: Final[ - str -] = """ +TEXT_SUMMARY_TEMPLATE: Final[str] = ( + """ # {title} {table} """.strip() +) -HTML_SUMMARY_TEMPLATE: Final[ - str -] = """ +HTML_SUMMARY_TEMPLATE: Final[str] = ( + """ # {title}
@@ -76,6 +75,7 @@ {table}
""".strip() +) GITHUB_MARKUP_REPLACEMENTS: Final[Dict[str, str]] = { "->": "→", From ba94e56f0142107b85978c3e7be08cefdc2cdf7c Mon Sep 17 00:00:00 2001 From: Manu Bretelle Date: Mon, 12 Feb 2024 15:46:51 -0800 Subject: [PATCH 2/2] build: Always pass architecture to actions In preparation of cross-compiling, ensure that we always pass arch parameter to the action. At a later stage, this parameter will be made required on libbpf-ci. Signed-off-by: Manu Bretelle --- .github/workflows/kernel-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/kernel-build.yml b/.github/workflows/kernel-build.yml index d1a83c70..34b439ca 100644 --- a/.github/workflows/kernel-build.yml +++ b/.github/workflows/kernel-build.yml @@ -103,6 +103,7 @@ jobs: - name: Build selftests uses: libbpf/ci/build-selftests@main with: + arch: ${{ inputs.arch }} toolchain: ${{ inputs.toolchain }} kbuild-output: ${{ env.KBUILD_OUTPUT }} max-make-jobs: 32 @@ -116,6 +117,7 @@ jobs: name: Build samples uses: libbpf/ci/build-samples@main with: + arch: ${{ inputs.arch }} toolchain: ${{ inputs.toolchain }} kbuild-output: ${{ env.KBUILD_OUTPUT }} max-make-jobs: 32