Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build-scx-selftests action #146

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Add build-scx-selftests action #146

merged 2 commits into from
Oct 18, 2024

Conversation

theihor
Copy link
Contributor

@theihor theihor commented Oct 16, 2024

Add build-scx-selftests action. This action will build tools/testsing/selftests/sched_ext binaries, given kbuild-output and toolchain parameters passed to the action.

The action and its build script are very similar to build-selftests. Build scipt is simplified somewhat.

Action inputs are different:

@theihor theihor force-pushed the build-scx branch 3 times, most recently from a23fdd2 to de42a5a Compare October 16, 2024 21:40
@theihor theihor marked this pull request as ready for review October 16, 2024 23:48
@theihor theihor requested a review from chantra October 16, 2024 23:48
@theihor
Copy link
Contributor Author

theihor commented Oct 16, 2024

WIP vmtest change: kernel-patches/vmtest#294

@chantra
Copy link
Collaborator

chantra commented Oct 16, 2024

LGTM. Can you add it as a step in

- name: Build selftests
uses: ./build-selftests
with:
arch: ${{ inputs.arch }}
toolchain: ${{ inputs.toolchain }}
kbuild-output: ${{ env.KBUILD_OUTPUT }}
max-make-jobs: 32
llvm-version: ${{ inputs.llvm-version }}
env:
# RELEASE= disables all optimizaions
# RELEASE=0 adds -O0 make flag
# RELEASE=1 adds -O2 make flag
RELEASE: ${{ inputs.release && '1' || '' }}
so we can make sure we are building/packing the content successfully.

theihor added a commit to theihor/vmtest that referenced this pull request Oct 17, 2024
theihor added a commit to theihor/vmtest that referenced this pull request Oct 18, 2024
* Update tar-artifacts.sh to include sched_ext files
* Remove copying of selftests/bpf in build_selftests.sh
theihor added a commit to theihor/vmtest that referenced this pull request Oct 18, 2024
@theihor theihor merged commit eb86fb2 into libbpf:main Oct 18, 2024
14 checks passed
theihor added a commit to theihor/vmtest that referenced this pull request Oct 18, 2024
theihor added a commit to kernel-patches/vmtest that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants