diff options
| author | 2025-01-16 22:18:17 +0800 | |
|---|---|---|
| committer | 2025-01-16 22:18:17 +0800 | |
| commit | c611a6c2eb9b376c3e6a6295c4d0771a65a44dd2 (patch) | |
| tree | a5737a68f1f617c959131005e6e1bbfafa7d2ddf /.github/workflows | |
| parent | 85f57dc9eb2e501beeb1f493c85b27fe8e68f566 (diff) | |
| download | DropOut-c611a6c2eb9b376c3e6a6295c4d0771a65a44dd2.tar.gz DropOut-c611a6c2eb9b376c3e6a6295c4d0771a65a44dd2.zip | |
fix: add pkg-config setup for macOS in release workflow
Diffstat (limited to '.github/workflows')
| -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: |