Run e2e test for release build and fix it by switching back to stable (#818)

* Run e2e-tests for release build
* Print `RUSTFLAGS` for justfile target build & check
* Fix CI: Disable miropt level 4
* Fix CI: Disable -Zbuild-std
* Disable `-Zgcc-ld=lld` and `-Zshare-generics` so that we can switch back to stable

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-02-28 22:53:57 +11:00 committed by GitHub
parent 5b70e41966
commit 2bf70b6a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 17 deletions

View file

@ -55,7 +55,7 @@ jobs:
- name: Ensure release binary is runnable
if: "matrix.r"
run: ./target/${{ matrix.t }}/release/cargo-binstall -V
run: just e2e-tests
- if: inputs.publish
name: Upload to release