ci: install android libunwind before build step (#817)

Fixes #816
This commit is contained in:
zach
2025-01-21 11:41:10 -08:00
committed by GitHub
parent d1a248e19e
commit 9da6d43f05

View File

@@ -126,6 +126,14 @@ jobs:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: "true"
- name: Install libunwind
if: ${{ matrix.target == 'x86_64-linux-android' }}
run: sudo apt install android-libunwind-dev
- name: Install libunwind
if: ${{ matrix.target == 'aarch64-linux-android' }}
run: sudo apt install android-libunwind-dev
- name: Build Target (${{ matrix.os }} ${{ matrix.target }})
uses: actions-rs/cargo@v1
with:
@@ -159,14 +167,6 @@ jobs:
sccache: 'true'
manylinux: 2_28
- name: Install libunwind
if: ${{ matrix.target == 'x86_64-linux-android' }}
run: sudo apt install android-libunwind-dev
- name: Install libunwind
if: ${{ matrix.target == 'aarch64-linux-android' }}
run: sudo apt install android-libunwind-dev
- name: Add pkg-config files except on MSVC
if: ${{ matrix.target != 'x86_64-pc-windows-msvc' }}
shell: bash