Skip to content

Commit

Permalink
Build selftests/sched_ext only for supported architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
theihor committed Oct 16, 2024
1 parent 0c2a6f0 commit da08c52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/kernel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
|| github.base_ref
|| 'bpf-next'
}}
BUILD_SCHED_EXT_SELFTESTS: ${{ inputs.arch == 'x86_64' || inputs.arch == 'aarch64' && 'true' || '' }}
steps:
- uses: actions/checkout@v4
# We fetch an actual bit of history here to facilitate incremental
Expand Down Expand Up @@ -111,7 +112,8 @@ jobs:
# RELEASE=0 adds -O0 make flag
# RELEASE=1 adds -O2 make flag
RELEASE: ${{ inputs.release && '1' || '' }}
- name: Build selftests/sched_ext
- if: ${{ env.BUILD_SCHED_EXT_SELFTESTS }}
name: Build selftests/sched_ext
uses: theihor/libbpf-ci/build-scx-selftests@build-scx
with:
arch: ${{ inputs.arch }}
Expand Down

0 comments on commit da08c52

Please sign in to comment.