diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11adf65..5baabea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,14 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Set up pkg-config for macOS + if: matrix.os == 'macos-latest' + run: | + brew install pkg-config + echo 'export PKG_CONFIG_ALLOW_CROSS=1' >> $GITHUB_ENV + echo 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig' >> $GITHUB_ENV + echo 'export PKG_CONFIG_SYSROOT_DIR=/usr/local' >> $GITHUB_ENV + - name: Set up Rust uses: actions-rs/toolchain@v1 with: |