Skip to content

Commit

Permalink
pipeline.yaml: Add arm64 chromebook builds
Browse files Browse the repository at this point in the history
Add arm64 Chromebook to build as test of cross-compilation support.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Jan 25, 2024
1 parent d059493 commit a647cc5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
17 changes: 17 additions & 0 deletions config/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,18 @@ jobs:
baseline-x86-board-staging:
<<: *baseline-x86-job

kbuild-gcc-10-arm64-chromebook:
template: kbuild.jinja2
kind: kbuild
image: kernelci/staging-gcc-10:arm64-kselftest-kernelci
params:
arch: arm64
compiler: gcc-10
cross_compile: 'aarch64-linux-gnu-'
cross_compile_compat: 'arm-linux-gnueabihf-'
defconfig: defconfig
fragments: ['arm64-chromebook']

kbuild-gcc-10-x86:
template: kbuild.jinja2
kind: kbuild
Expand Down Expand Up @@ -273,6 +285,11 @@ scheduler:
platforms:
- dell-latitude-3445-7520c-skyrim

- job: kbuild-gcc-10-arm64-chromebook
event: *checkout-event
runtime:
type: kubernetes

- job: kbuild-gcc-10-x86
event: *checkout-event
runtime:
Expand Down
10 changes: 8 additions & 2 deletions config/runtime/kbuild.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ KBUILD_PARAMS = {
'compiler': '{{ compiler }}',
'defconfig': '{{ defconfig }}',
{%- if fragments %}
'fragments': {{ fragments }}
'fragments': {{ fragments }},
{%- else %}
'fragments': []
'fragments': [],
{%- endif %}
{%- if cross_compile %}
'cross_compile': '{{ cross_compile }}',
{%- endif %}
{%- if cross_compile_compat %}
'cross_compile_compat': '{{ cross_compile_compat }}'
{%- endif %}
}
{%- endblock %}
Expand Down

0 comments on commit a647cc5

Please sign in to comment.