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 @@ -233,7 +233,15 @@ jobs:
233233 ~/.cargo/git
234234 target
235235 key : ${{ runner.os }}-${{ matrix.target }}-${{ steps.get-rustc-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
236- - name : Install cross
237- 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+
238243 - name : Build
239- 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