mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-10 04:08:47 -06:00
Use 'tools' term instead of linker, add musl-tools for x64 linux MUSL
This commit is contained in:
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
@@ -37,12 +37,13 @@ jobs:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-musl
|
||||
tools: musl-tools
|
||||
- os: ubuntu-latest
|
||||
target: aarch64-unknown-linux-musl
|
||||
linker: gcc-aarch64-linux-gnu
|
||||
tools: gcc-aarch64-linux-gnu
|
||||
- os: ubuntu-latest
|
||||
target: armv7-unknown-linux-gnueabihf
|
||||
linker: gcc-arm-linux-gnueabihf
|
||||
tools: gcc-arm-linux-gnueabihf
|
||||
- os: macos-latest
|
||||
target: x86_64-apple-darwin
|
||||
- os: macos-latest
|
||||
@@ -63,11 +64,11 @@ jobs:
|
||||
targets: ${{ matrix.target }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Install Linker
|
||||
if: matrix.linker
|
||||
- name: Install Linker Tools
|
||||
if: matrix.tools
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install ${{ matrix.linker }}
|
||||
sudo apt-get install ${{ matrix.tools }}
|
||||
# ensure has a newline at the end
|
||||
[ "$(tail -c 1 .cargo/config.toml)" != "" ] && echo >> .cargo/config.toml
|
||||
cat .cargo/config.github.toml >> .cargo/config.toml
|
||||
|
||||
Reference in New Issue
Block a user