Skip to content

Commit 7aed9b7

Browse files
committed
cross tests
1 parent 2080a31 commit 7aed9b7

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

.github/workflows/release-build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,31 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
pair:
48-
- target: x86_64-unknown-linux-gnu
49-
os: ubuntu-latest
50-
bin: minidsp
51-
svc_bin: minidspd
52-
cross: false
53-
archive: tar.gz
48+
# - target: x86_64-unknown-linux-gnu
49+
# os: ubuntu-latest
50+
# bin: minidsp
51+
# svc_bin: minidspd
52+
# cross: false
53+
# archive: tar.gz
5454
- target: aarch64-unknown-linux-gnu
5555
os: ubuntu-latest
5656
bin: minidsp
5757
svc_bin: minidspd
5858
cross: true
5959
cross_dockerfile: Dockerfile.aarch64
6060
archive: tar.gz
61-
- target: x86_64-apple-darwin
62-
os: macOS-latest
63-
bin: minidsp
64-
svc_bin: minidspd
65-
cross: false
66-
archive: tar.gz
67-
- target: x86_64-pc-windows-msvc
68-
os: windows-latest
69-
bin: minidsp.exe
70-
svc_bin: minidspd.exe
71-
cross: false
72-
archive: zip
61+
# - target: x86_64-apple-darwin
62+
# os: macOS-latest
63+
# bin: minidsp
64+
# svc_bin: minidspd
65+
# cross: false
66+
# archive: tar.gz
67+
# - target: x86_64-pc-windows-msvc
68+
# os: windows-latest
69+
# bin: minidsp.exe
70+
# svc_bin: minidspd.exe
71+
# cross: false
72+
# archive: zip
7373

7474
runs-on: ${{ matrix.pair.os }}
7575
env:
@@ -88,7 +88,7 @@ jobs:
8888
run: |
8989
curl -L -o /tmp/cross.tar.gz https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-gnu.tar.gz
9090
cd /usr/local/bin
91-
tar -zxvf /tmp/cross.tar.gz
91+
tar -zxvf /tmp/cross.tar.gz
9292
9393
- name: Install native packages
9494
if: runner.os == 'Linux' && matrix.pair.cross == false

Cross.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
pre-build = [
33
"dpkg --add-architecture $CROSS_DEB_ARCH",
44
"apt-get update",
5-
"apt-get install -y libusb-1.0-0-dev:$CROSS_DEB_ARCH pkg-config"
5+
"apt-get install -y libusb-1.0-0:$CROSS_DEB_ARCH libusb-1.0-0-dev:$CROSS_DEB_ARCH pkg-config"
66
]
77

88
[target.aarch64-unknown-linux-gnu.env]
99
PKG_CONFIG_LIBDIR="/usr/lib/aarch64-linux-gnu/pkgconfig"
10-

0 commit comments

Comments
 (0)