-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: clean up rust-openssl workflow #944
Conversation
+ ./configure
+ make dist
+ tar zxvf libressl-*.tar.gz
+ rm libressl-*.tar.gz
+ cd libressl-*
Can't all these lines be removed?
|
Yes, I have removed the mentioned lines and it appears to still run properly: |
Might want to check out https://github.com/libressl/portable/actions/runs/6819489823 which is results of the first scheduled run. |
On Thu, Nov 09, 2023 at 07:17:54PM -0800, Brent Cook wrote:
Might want to check out https://github.com/libressl/portable/actions/runs/6819489823 which is results of the first scheduled run.
I haven't yet had a chance to look at the details of this failure
because github helpfully hides them when not logged in, but what I'm
most concerned about is that I didn't get notified about it.
|
run: | | ||
cd rust-openssl | ||
OPENSSL_DIR=${HOME}/opt | ||
LD_LIBRARY_PATH=${HOME}/opt/lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't these environment variables need to be exported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I thought as those are in the same script they should apply to the cargo test
line
inner_evp_generic_fetch is an openssl 3 function that is being called. Presumably because the shell variable isn't picked up by cargo. |
This exact workflow is somehow working perfectly fine on my fork repository: |
OPENSSL_DIR=${HOME}/opt | ||
LD_LIBRARY_PATH=${HOME}/opt/lib | ||
patch -p1 < ../.github/rust-openssl.patch | ||
cargo test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change this into cargo test --verbose
, so we can see what's going on please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
The last successful run of this workflow was https://github.com/libressl/portable/actions/runs/7675295067 |
...
|
There is some oddity around how notifications for CI failures work. I think locally, you need to ensure the below setting is enabled at least: Additionally, it seems to send them to whoever enabled the cron job last |
Thanks. I have all that set, as far as I can see. What good is scheduled CI if you need to make an effort to see its failures? Anyway. I suspect I got notifications from my fork, which were now turned off in #991 because of the noise. I'll figure something out. |
Clean up existing
rust
workflow.Changes:
rust_regress.yml
torust-openssl.yml
contents: read
actions/checkout
tov4
workflow_dispatch
trigger