From 068c149c24e9bdfedfabc8578972a6fe1a89ab5c Mon Sep 17 00:00:00 2001 From: b-ma Date: Tue, 24 Dec 2024 17:21:59 +0100 Subject: [PATCH] ci: back to previous platform builds --- .github/workflows/matrix-build.yaml | 15 +++++++++++++++ Cross.toml | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/matrix-build.yaml b/.github/workflows/matrix-build.yaml index c3d4f46..47ab1ab 100644 --- a/.github/workflows/matrix-build.yaml +++ b/.github/workflows/matrix-build.yaml @@ -29,6 +29,16 @@ jobs: target: aarch64-apple-darwin command: cargo + - name: darwin-x64 + runner: macos-latest + target: x86_64-apple-darwin + command: cargo + + - name: win32-arm64-msvc + runner: windows-latest + target: aarch64-pc-windows-msvc + command: cargo + - name: win32-x64-msvc runner: windows-latest target: x86_64-pc-windows-msvc @@ -39,6 +49,11 @@ jobs: target: aarch64-unknown-linux-gnu command: cross + - name: linux-x86-gnu + runner: ubuntu-latest + target: x86_64-unknown-linux-gnu + command: cross + - name: linux-arm-gnueabihf runner: ubuntu-latest target: armv7-unknown-linux-gnueabihf diff --git a/Cross.toml b/Cross.toml index 835edd3..c5be2fd 100644 --- a/Cross.toml +++ b/Cross.toml @@ -9,3 +9,9 @@ pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update && apt-get --assume-yes install libasound2-dev:$CROSS_DEB_ARCH libjack-jackd2-dev:$CROSS_DEB_ARCH" ] + +[target.x86_64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get --assume-yes install libasound2-dev:$CROSS_DEB_ARCH libjack-jackd2-dev:$CROSS_DEB_ARCH" +]