ci needs unstable rust for size-optimized
Some checks failed
Rust / build (pull_request) Failing after 4m47s
Some checks failed
Rust / build (pull_request) Failing after 4m47s
This commit is contained in:
parent
2ccec294c7
commit
826280b0df
17
.github/workflows/rust.yml
vendored
17
.github/workflows/rust.yml
vendored
|
@ -41,14 +41,17 @@ jobs:
|
||||||
run: cargo build
|
run: cargo build
|
||||||
|
|
||||||
- name: build example -- glibc release
|
- name: build example -- glibc release
|
||||||
run: cd example && make clean && make PROFILE=release TARGET=aarch64-unknown-linux-gnu
|
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=release
|
||||||
- name: build example -- glibc debug
|
- name: build example -- glibc debug
|
||||||
run: cd example && make clean && make PROFILE=debug TARGET=aarch64-unknown-linux-gnu
|
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=debug
|
||||||
- name: build example -- glibc size-optimized
|
|
||||||
run: cd example && make clean && make PROFILE=size-optimized TARGET=aarch64-unknown-linux-gnu
|
|
||||||
- name: build example -- musl release
|
- name: build example -- musl release
|
||||||
run: cd example && make clean && make PROFILE=release MUSL=1 TARGET=aarch64-unknown-linux-musl
|
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1
|
||||||
- name: build example -- musl debug
|
- name: build example -- musl debug
|
||||||
run: cd example && make clean && make PROFILE=debug MUSL=1 TARGET=aarch64-unknown-linux-musl
|
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1
|
||||||
|
|
||||||
|
- name: install unstable rust
|
||||||
|
run: sudo apt install rustup && rustup toolchain install aarch64-unknown-linux-gnu && rustup toolchain install aarch64-unknown-linux-musl
|
||||||
|
- 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"
|
||||||
- name: build example -- musl size-optimized
|
- name: build example -- musl size-optimized
|
||||||
run: cd example && make clean && make PROFILE=size-optimized MUSL=1 LTO=1 TARGET=aarch64-unknown-linux-musl
|
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=size-optimized MUSL=1 LTO=1 CARGO="rustup run nightly cargo"
|
||||||
|
|
Loading…
Reference in a new issue