From 1f4b8e79a3f9b3326f9ccf69aedfb889a0657726 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sat, 19 Mar 2022 18:19:51 +0800 Subject: [PATCH] Add missing PKG_CONFIG_PATH --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 825a4d1..da51fa1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -79,16 +79,19 @@ jobs: - name: Build thirdparty library if: steps.cache.outputs.cache-hit != 'true' run: | + export PKG_CONFIG_PATH=`pwd`/clib/lib/pkgconfig cp scripts/build_*.sh -v ./ || exit 1 ./build_libzip.sh || exit 1 ./build_x264.sh || exit 1 ./build_ffmpeg.sh || exit 1 - name: Build run: | + export PKG_CONFIG_PATH=`pwd`/clib/lib/pkgconfig export CMAKE_PREFIX_PATH=`pwd`/clib cargo build --features ugoira -vv || exit 1 - name: Test run: | + export PKG_CONFIG_PATH=`pwd`/clib/lib/pkgconfig export CMAKE_PREFIX_PATH=`pwd`/clib export "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/clib/lib" cargo test --features ugoira --verbose -- --show-output || exit 1