forked from librespot-org/librespot
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'f6473319f6309b2702a20ff5371763c48e129676' into spotty-dev
# Conflicts: # .github/workflows/test.yml # Cargo.lock # Cargo.toml
- Loading branch information
Showing
19 changed files
with
357 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
[target.armv7-unknown-linux-gnueabihf] | ||
linker = "arm-linux-gnueabihf-gcc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ on: | |
env: | ||
RUST_BACKTRACE: 1 | ||
KEYMASTER_CLIENT_ID: ${{ secrets.KEYMASTER_CLIENT_ID }} | ||
RUSTFLAGS: -D warnings | ||
RUSTFLAGS: -D warnings -A renamed-and-removed-lints | ||
|
||
# The layering here is as follows: | ||
# 1. code formatting | ||
|
@@ -117,7 +117,7 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest] | ||
toolchain: | ||
- "1.73" # MSRV (Minimum supported rust version) | ||
- "1.74" # MSRV (Minimum supported rust version) | ||
- stable | ||
experimental: [false] | ||
# Ignore failures in beta | ||
|
@@ -171,12 +171,16 @@ jobs: | |
matrix: | ||
os: [windows-latest] | ||
toolchain: | ||
- "1.73" # MSRV (Minimum supported rust version) | ||
- "1.74" # MSRV (Minimum supported rust version) | ||
- stable | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
# hyper-rustls >=0.27 uses aws-lc as default backend which requires NASM to build | ||
- name: Install NASM | ||
uses: ilammy/[email protected] | ||
|
||
- name: Write Build Configuration File | ||
uses: DamianReeves/[email protected] | ||
with: | ||
|
@@ -221,7 +225,7 @@ jobs: | |
os: [ubuntu-latest] | ||
target: [armv7-unknown-linux-gnueabihf] | ||
toolchain: | ||
- "1.73" # MSRV (Minimum supported rust version) | ||
- "1.74" # MSRV (Minimum supported rust version) | ||
- stable | ||
steps: | ||
- name: Checkout code | ||
|
@@ -251,7 +255,15 @@ jobs: | |
~/.cargo/git | ||
target | ||
key: ${{ runner.os }}-${{ matrix.target }}-${{ steps.get-rustc-version.outputs.version }}-${{ hashFiles('Cargo.lock') }} | ||
- name: Install cross | ||
run: cargo install cross || true | ||
|
||
- name: Install the cross compiler targets | ||
run: rustup target add ${{ matrix.target }} | ||
|
||
- name: Install cross compiler toolchain | ||
run: sudo apt-get install -y gcc-arm-linux-gnueabihf | ||
|
||
- name: Build | ||
run: cross build --target ${{ matrix.target }} --no-default-features | ||
run: cargo build --verbose --target ${{ matrix.target }} --no-default-features | ||
|
||
- name: Check binary | ||
run: file target/${{ matrix.target }}/debug/librespot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
target | ||
.cargo | ||
spotify_appkey.key | ||
.vagrant/ | ||
.project | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.