mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
separate pkg config step
This commit is contained in:
parent
76ad6114ba
commit
f16409cda9
1 changed files with 4 additions and 2 deletions
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
|
@ -77,8 +77,10 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
# Install deps
|
# Install deps
|
||||||
sudo apt-get install -y libssl-dev:armhf libssl1.1:armhf zlib1g-dev:armhf zlib1g:armhf libc-dev:armhf
|
sudo apt-get install -y libssl-dev:armhf libssl1.1:armhf zlib1g-dev:armhf zlib1g:armhf libc-dev:armhf
|
||||||
# Allow cross compilation
|
|
||||||
echo "PKG_CONFIG_ALLOW_CROSS=1" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
- name: Enable cross compilation
|
||||||
|
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.target == 'armv7-unknown-linux-gnueabihf' }}
|
||||||
|
run: echo "PKG_CONFIG_ALLOW_CROSS=1" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
||||||
|
|
||||||
- name: Install openssl (vcpkg)
|
- name: Install openssl (vcpkg)
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-latest' }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue