Skip to content

Commit

Permalink
WIP: ci: get stress-ng and bpf clang from pinned nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHillion committed Nov 26, 2024
1 parent c15d9ea commit 7113936
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/actions/install-deps-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ runs:
### DOWNLOAD AND INSTALL DEPENDENCIES ###

# Get some packages from nixpkgs for newer revisions
- uses: DeterminateSystems/nix-installer-action@main
- run: |
nix registry add nixpkgs github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d
echo "BPF_CLANG=$(nix build --print-out-paths --no-link nixpkgs#clang)/bin/clang" >> $GITHUB_ENV
shell: bash
# Download dependencies packaged by Ubuntu
- run: |
sudo apt install -f -y bison busybox-static cmake coreutils \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/caching-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
- run: sudo chmod +x /usr/bin/veristat && sudo chmod 755 /usr/bin/veristat

# The actual build:
- run: meson setup build -Dkernel=../linux/arch/x86/boot/bzImage -Dkernel_headers=../linux -Denable_stress=true -Dvng_rw_mount=true
- run: meson setup build -Dkernel=../linux/arch/x86/boot/bzImage -Dkernel_headers=../linux -Denable_stress=true -Dvng_rw_mount=true -Dbpf_clang="$BPF_CLANG"
- run: meson compile -C build ${{ matrix.scheduler }}

# Print CPU model before running the tests (this can be useful for
Expand Down

0 comments on commit 7113936

Please sign in to comment.