another try to get it working on ubuntu
This commit is contained in:
parent
4fc2aea56f
commit
908ca02782
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
|
@ -50,12 +50,12 @@ jobs:
|
|||
- name: Install toolchain
|
||||
run: sudo apt-get install -qy liblzma-dev gcc make pkgconf musl-dev musl-tools rustup
|
||||
- name: install rust target
|
||||
run: rustup toolchain install beta -t aarch64-unknown-linux-musl --no-self-update && rustup component add --toolchain beta rust-src
|
||||
run: rustup default beta && rustup target add aarch64-unknown-linux-musl && rustup component add rust-src && rustup update
|
||||
|
||||
- name: build example -- musl release
|
||||
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run beta cargo" CC=musl-gcc
|
||||
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run beta cargo"
|
||||
- name: build example -- musl debug
|
||||
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1 CARGO="rustup run beta cargo" CC=musl-gcc
|
||||
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1 CARGO="rustup run beta cargo"
|
||||
|
||||
build-size-gnu-unstable:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue