-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1318 from yubiuser/hyper
Update hyper-rustls to 0.27 and adjust CI workflow
- Loading branch information
Showing
5 changed files
with
145 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,6 +168,10 @@ jobs: | |
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: Install toolchain | ||
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y | ||
|
@@ -229,7 +233,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 | ||
|
Oops, something went wrong.