Repository navigation
openbsd.yml: speedup tests - #16340
Conversation
34ac8d6 to
92e8f93
Compare
5a77e3f to
3e13db4
Compare
7dacb55 to
2c83be2
Compare
454388d to
a271f50
Compare
|
thanks for the work on this! |
|
It is because all features which has real consumers on OpenBSD are pulled by feat_Tier1,feat_require_unix,openssl.
So it is still worth to test cksum,openssl . But uucore with all features pulls unused code.
|
This comment was marked as outdated.
This comment was marked as outdated.
|
I put |
c1238c7 to
21bed84
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
Binary size comparison: |
2de2ec0 to
555b4a3
Compare
|
GNU testsuite comparison: |
| set +e | ||
| cd "${WORKSPACE}" | ||
| unset FAULT | ||
| cp -v target/x86_64-unknown-openbsd/debug/coreutils /tmp/coreutils |
There was a problem hiding this comment.
why copy it to /tmp instead of pointing UUTESTS_BINARY_PATH at target/ directly?
There was a problem hiding this comment.
direct path did not work.
| EOF | ||
| UTILS=$(cargo tree --depth 1 --features ${{ env.FEATURES }} --format '{lib}' --prefix none | sed -n 's/^uu_/-p uu_/p') | ||
| cargo-zigbuild clippy --target x86_64-unknown-openbsd --features ${{ env.FEATURES }} -p coreutils ${UTILS} --all-targets --tests --benches -- -D warnings | ||
| - name: prepare testing |
There was a problem hiding this comment.
with clippy and tests in the same job, a clippy warning now skips all the tests, is it intended?
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
There was a problem hiding this comment.
Do you want to continue cargo test when clippy failed (and set FAULT=1)? I think it just eats CI.
There was a problem hiding this comment.
On freebsd.yml, separating clippy increases build time 30 sec+. openbsd.yml would increase much more due to build-std.
|
zigbuilding |
|
auto-merge is blocked by CI stuck. |
Build test binaries on Ubuntu and run them on slow VMs.
Actually used features (except for openssl) should be pulled by
feat_os_unixor something else andmake's logic is already tested and different place.(Also we were not testing binaries with openssl actually...)
Note that VM action already have issues about propergation of exit code and build error of crated due to failure of downloading crates.