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