Compare commits
1 commit
0bb495a2fd
...
262d0edcd7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
262d0edcd7 |
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
|||
- name: Install toolchain
|
||||
run: sudo apt-get install -qy liblzma-dev gcc make pkgconf musl-dev musl-tools rustup
|
||||
- name: install musl rust target
|
||||
run: rustup toolchain install aarch64-unknown-linux-musl --no-self-update
|
||||
run: rustup toolchain install nightly -t aarch64-unknown-linux-musl --no-self-update
|
||||
|
||||
- name: build example -- musl release
|
||||
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run stable cargo"
|
||||
|
@ -78,10 +78,8 @@ jobs:
|
|||
- name: install rust nightly
|
||||
run: rustup default nightly
|
||||
|
||||
- name: install musl rust target
|
||||
run: rustup toolchain install aarch64-unknown-linux-musl --no-self-update
|
||||
- name: install gnu rust target
|
||||
run: rustup toolchain install aarch64-unknown-linux-gnu --no-self-update
|
||||
- name: install rust targets
|
||||
run: rustup toolchain install nightly -t aarch64-unknown-linux-musl -t aarch64-unknown-linux-gnu --no-self-update
|
||||
|
||||
- name: build example -- glibc size-optimized
|
||||
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=size-optimized CARGO="rustup run nightly cargo"
|
||||
|
|
Loading…
Reference in a new issue