mirror of
https://github.com/talwat/lowfi
synced 2024-12-26 11:11: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
|
name: lowfi-linux-x86_64
|
||||||
command: build
|
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
|
- release_for: Windows x86_64
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
@ -61,13 +54,18 @@ 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
|
- name: Build binary (cross)
|
||||||
|
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
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -982,7 +982,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lowfi"
|
name = "lowfi"
|
||||||
version = "1.2.3"
|
version = "1.2.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Inflector",
|
"Inflector",
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lowfi"
|
name = "lowfi"
|
||||||
version = "1.2.3"
|
version = "1.2.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "An extremely simple lofi player."
|
description = "An extremely simple lofi player."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
Loading…
Reference in New Issue
Block a user