Skip to content

Commit a78c3b0

Browse files
committed
Set pkgconfig for native_sim build only
1 parent b720ee6 commit a78c3b0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/deps/ports/zephyr-cp/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ runs:
99
sudo dpkg --add-architecture i386
1010
sudo apt-get update
1111
sudo apt-get install -y libusb-1.0-0-dev libudev-dev pkg-config libsdl2-dev:i386 libsdl2-image-dev:i386 mtools
12-
echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" >> $GITHUB_ENV
1312
shell: bash
1413
- name: Setup Zephyr project
1514
uses: zephyrproject-rtos/action-zephyr-setup@v1

.github/workflows/run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595
uses: ./.github/actions/deps/external
9696
- name: Build native sim target
9797
run: make -C ports/zephyr-cp -j2 BOARD=native_native_sim
98+
env:
99+
PKG_CONFIG_PATH: /usr/lib/i386-linux-gnu/pkgconfig
98100
- name: Build bsim
99101
run: make -j 2 everything
100102
working-directory: ports/zephyr-cp/tools/bsim

0 commit comments

Comments
 (0)