Skip to content

Commit

Permalink
CI: musl debug print in cross config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahihi committed Aug 2, 2024
1 parent 393282a commit 30d0edd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ jobs:
packages: libasound2-dev
version: 1.0

- name: debugprint
if: endsWith(matrix.target, '-musl')
run: |
find / -name alsa.pc 2> /dev/null || true
- name: build
uses: houseabsolute/actions-rust-cross@v0
with:
Expand Down
2 changes: 2 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ pre-build = [

[target.x86_64-unknown-linux-musl]
pre-build = [
"find / -name alsa.pc 2> /dev/null || true",
"export PKG_CONFIG_LIBDIR_x86_64_unknown_linux_musl=/usr/lib/x86_64-linux-musl/pkgconfig",
"apk add alsa-lib-dev"
]

[target.aarch64-unknown-linux-musl]
pre-build = [
"find / -name alsa.pc 2> /dev/null || true",
"export PKG_CONFIG_LIBDIR_aarch64_unknown_linux_musl=/usr/lib/aarch64-linux-musl/pkgconfig",
"apk add alsa-lib-dev"
]

0 comments on commit 30d0edd

Please sign in to comment.