Skip to content

Commit

Permalink
fixup! Integrate bpftool.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmmr committed Jan 12, 2024
1 parent d5bfb59 commit 0a94f3f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: CI pipeline
on: push

jobs:
debug_ubuntu_latest:
runs-on: ubuntu-latest
debug_ubuntu_22:
runs-on: ubuntu-22.04

strategy:
matrix:
Expand All @@ -21,10 +21,12 @@ jobs:
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y ninja-build ccache curl ca-certificates clang-tidy-12
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-12 100
sudo apt-get install -y ninja-build ccache curl ca-certificates
sudo apt-get install -y llvm-17-dev clang-17 libclang-17-dev clang-format-17 clang-tidy-17 libclang-rt-17-dev
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-17 100
sudo pip3 install btest zkg pre-commit
# for bpftool
sudo apt-get install llvm libelf-dev gcc-multilib
Expand Down Expand Up @@ -69,7 +71,7 @@ jobs:
# TODO: Install Zeek and run Zeek tests.
release_alpine_3_15_static:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/topic/ci-release-test' || startsWith(github.ref, 'refs/tags/v')) && 'release' || '' }}

container:
Expand Down Expand Up @@ -324,7 +326,7 @@ jobs:
path: build/dist/${{env.ZA_DIST}}

release_source:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/topic/ci-release-test' || startsWith(github.ref, 'refs/tags/v')) && 'release' || '' }}

steps:
Expand Down Expand Up @@ -370,9 +372,9 @@ jobs:
publish_release:
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-dev'))
needs: [debug_ubuntu_latest, release_alpine_3_15_static, release_macos_13, release_windows_2022, release_source]
needs: [debug_ubuntu_22, release_alpine_3_15_static, release_macos_13, release_windows_2022, release_source]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 0a94f3f

Please sign in to comment.