install all deps, maybe issue with not adding via dpkg

This commit is contained in:
ryan 2020-12-31 18:14:51 +13:00
parent 4305876d93
commit 3a388c1fa1

View file

@ -50,8 +50,8 @@ jobs:
- name: Configure caching
uses: actions/cache@v2
if: ${{ matrix.os != 'macos-latest' }}
# Caching disabled on macos due to https://github.com/actions/cache/issues/403
if: ${{ matrix.os != 'macos-latest' }}
with:
key: ${{ matrix.os }}-${{ matrix.target }}
path: |
@ -62,8 +62,8 @@ jobs:
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.target == 'armv7-unknown-linux-gnueabihf' }}
run: |
echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal main universe" | sudo tee /etc/apt/sources.list.d/armhf.list
sudo apt update
sudo apt install libssl-dev:armhf zlib1g-dev:armhf
sudo apt-get update
sudo apt-get install -y libssl-dev:armhf libssl1.1:armgf zlib1g-dev:armhf zlib1g:armhf libc-dev:armhf
echo "PKG_CONFIG_ALLOW_CROSS=1" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
- name: Install openssl (vcpkg)