Skip to content

Commit

Permalink
Update testing workflow
Browse files Browse the repository at this point in the history
 * add explicit CFLAGS and LDFLAGS paths for mac OS (arm64)
 * bump action versions to v4 to avoid deprecation warnings
  • Loading branch information
salcock committed May 8, 2024
1 parent 06e2b1a commit 2341ab5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/libtrace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
sudo apt-get -y install pfring
sudo ldconfig
- name: Checkout libxdp
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: xdp-tools
repository: xdp-project/xdp-tools
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
sudo make -j 3 libxdp_install
sudo ldconfig
- name: Checkout Libbpf
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: libbpf
repository: libbpf/libbpf
Expand All @@ -115,7 +115,7 @@ jobs:
echo "/usr/lib64" | sudo tee -a /etc/ld.so.conf.d/lib64.conf
sudo ldconfig
- name: Checkout Libtrace
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: libtrace
submodules: recursive
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Dependencies
Expand All @@ -172,20 +172,20 @@ jobs:
run: |
cd wandio
./bootstrap.sh
./configure
./configure CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib"
make -j 4
sudo make install
- name: Build/Install Libwandder
run: |
cd libwandder
./bootstrap.sh
./configure
./configure CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib"
make -j 3
sudo make install
- name: Build/Install Libtrace
run: |
./bootstrap.sh
./configure
./configure CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib"
make -j 4
sudo make install
- name: Build Tests
Expand Down

0 comments on commit 2341ab5

Please sign in to comment.