ci: try compiling natively with linux

This commit is contained in:
talwat 2024-10-02 14:34:30 +02:00
parent c2909b25ec
commit 6c61650747
3 changed files with 8 additions and 10 deletions

View File

@ -19,13 +19,6 @@ jobs:
name: lowfi-linux-x86_64
command: build
- release_for: Linux aarch64
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
bin: lowfi
name: lowfi-linux-aarch64
command: build
- release_for: Windows x86_64
os: windows-latest
target: x86_64-pc-windows-msvc
@ -61,12 +54,17 @@ jobs:
run: |
sudo apt install -y libasound2-dev librust-alsa-sys-dev librust-curl+openssl-sys-dev
- name: Build binary
- name: Build binary (cross)
if: matrix.os != 'ubuntu-latest'
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: |

2
Cargo.lock generated
View File

@ -982,7 +982,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]]
name = "lowfi"
version = "1.2.3"
version = "1.2.4"
dependencies = [
"Inflector",
"arc-swap",

View File

@ -1,6 +1,6 @@
[package]
name = "lowfi"
version = "1.2.3"
version = "1.2.4"
edition = "2021"
description = "An extremely simple lofi player."
license = "MIT"