diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 095d5cb..4a09fcf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -40,6 +40,15 @@ jobs: else echo "OPENSSL_DIR=/usr/lib/x86_64-linux-gnu" >> $GITHUB_ENV fi + - name: Set PKG_CONFIG_PATH for OpenSSL + run: | + if [ "${{ matrix.target }}" = "aarch64" ]; then + echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/aarch64-linux-gnu/pkgconfig" >> $GITHUB_ENV + elif [ "${{ matrix.target }}" = "armv7" ]; then + echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/arm-linux-gnueabihf/pkgconfig" >> $GITHUB_ENV + else + echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV + fi - name: Build wheels with verbose output uses: PyO3/maturin-action@v1 with: