update ci
This commit is contained in:
parent
85d4ed5a3b
commit
4ef14834ad
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
|
@ -30,11 +30,6 @@ jobs:
|
|||
- name: build
|
||||
run: cargo build
|
||||
|
||||
- name: generate bindings
|
||||
run: ./generate-binding.sh
|
||||
- name: check that generated files did not change
|
||||
run: output=$(git status --porcelain) && [ -z "$output" ]
|
||||
|
||||
- name: build example -- glibc release
|
||||
run: cd example && make -r clean-all && make -r LIBC=gnu LINK=dynamic PROFILE=release
|
||||
- name: build example -- glibc debug
|
||||
|
@ -52,6 +47,14 @@ jobs:
|
|||
- name: install rust targets
|
||||
run: rustup toolchain install nightly -t aarch64-unknown-linux-gnu -c rust-src --no-self-update
|
||||
|
||||
- name: install csbindgen
|
||||
run: rustup run nightly cargo install cbindgen@0.29
|
||||
|
||||
- name: generate bindings
|
||||
run: ./generate-binding.sh
|
||||
- name: check that generated files did not change
|
||||
run: output=$(git status --porcelain) && [ -z "$output" ]
|
||||
|
||||
- name: build example -- glibc size_optimized
|
||||
run: cd example && make clean-all -r
|
||||
&& make -r LIBC=gnu LINK=dynamic PROFILE=size_optimized CARGO="rustup run nightly cargo" LTO=1
|
||||
|
|
Loading…
Reference in a new issue