mirror of
https://github.com/talwat/lowfi
synced 2024-12-26 11:11:54 +00:00
fix: revert to using cross for ubuntu compilations
This commit is contained in:
parent
6c61650747
commit
8e1e260686
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user