fix: revert to using cross for ubuntu compilations

This commit is contained in:
talwat 2024-10-02 18:38:09 +02:00
parent 6c61650747
commit 8e1e260686

View File

@ -54,17 +54,12 @@ jobs:
run: |
sudo apt install -y libasound2-dev librust-alsa-sys-dev librust-curl+openssl-sys-dev
- name: Build binary (cross)
if: matrix.os != 'ubuntu-latest'
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: ${{ matrix.command }}
target: ${{ matrix.target }}
args: "--locked --release"
- name: Build binary (native)
if: matrix.os == 'ubuntu-latest'
run: "cargo build --locked --release"
- name: Rename binary
run: |