File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ [target .armv7-unknown-linux-gnueabihf ]
3+ linker = " arm-linux-gnueabihf-gcc"
Original file line number Diff line number Diff line change @@ -168,6 +168,10 @@ jobs:
168168 steps :
169169 - name : Checkout code
170170171+
172+ # hyper-rustls >=0.27 uses aws-lc as default backend which requires NASM to build
173+ - name : Install NASM
174+ 171175
172176 - name : Install toolchain
173177 run : curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
@@ -229,7 +233,15 @@ jobs:
229233 ~/.cargo/git
230234 target
231235 key : ${{ runner.os }}-${{ matrix.target }}-${{ steps.get-rustc-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
232- - name : Install cross
233- run : cargo install cross || true
236+
237+ - name : Install the cross compiler targets
238+ run : rustup target add ${{ matrix.target }}
239+
240+ - name : Install cross compiler toolchain
241+ run : sudo apt-get install -y gcc-arm-linux-gnueabihf
242+
234243 - name : Build
235- run : cross build --target ${{ matrix.target }} --no-default-features
244+ run : cargo build --verbose --target ${{ matrix.target }} --no-default-features
245+
246+ - name : Check binary
247+ run : file target/${{ matrix.target }}/debug/librespot
Original file line number Diff line number Diff line change 11target
2- .cargo
32spotify_appkey.key
43.vagrant /
54.project
You can’t perform that action at this time.
0 commit comments