mirror of
https://github.com/talwat/lowfi
synced 2024-12-25 10:41:54 +00:00
ci: try compiling natively with linux
This commit is contained in:
parent
c2909b25ec
commit
6c61650747
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -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
2
Cargo.lock
generated
@ -982,7 +982,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
||||
|
||||
[[package]]
|
||||
name = "lowfi"
|
||||
version = "1.2.3"
|
||||
version = "1.2.4"
|
||||
dependencies = [
|
||||
"Inflector",
|
||||
"arc-swap",
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user