fix PKG_CONFIG_PATH

This commit is contained in:
yggverse 2024-12-04 02:04:30 +02:00
parent 03c7fafed6
commit 5638334107

View File

@ -18,9 +18,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install system packages - name: Install system packages
run: sudo apt install libgtk-4-dev libglib2.0-dev run: sudo apt install libgtk-4-dev libglib2.0-dev
- name: Set PKG_CONFIG_PATH
run: echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
- name: Build - name: Build
env: run: cargo build --verbose
PKG_CONFIG_PATH: /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig
run: cargo build --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose