Skip to content

Commit

Permalink
set C_INCLUDE_PATH at job level
Browse files Browse the repository at this point in the history
  • Loading branch information
SRodi committed Dec 3, 2024
1 parent 01e61be commit 6c6c40b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest

env:
C_INCLUDE_PATH: /usr/include/x86_64-linux-gnu

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -14,11 +17,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install clang llvm libbpf-dev make linux-headers-$(uname -r) -y
- name: Export Linux headers for libbpf
env:
C_INCLUDE_PATH: /usr/include/x86_64-linux-gnu
run: find /usr/include -name 'types.h'
find /usr/include -name 'types.h'
- name: Test compile XDP program
run: make compile
Expand Down

0 comments on commit 6c6c40b

Please sign in to comment.