-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
perl issue when building on windows #2149
Comments
|
According to our CI, it is up to date when running |
The issue is when you're building on windows using The giveaway was the
Linux uses Instead, you want the Windows perl. The - name: Set Perl environment variables
if: runner.os == 'Windows'
run: |
echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 The trick is to not specify
Hope this helps :) |
Hi, we are trying to build a Rust project having indirect dependencies to openssl-sys.
When building on
Microsoft Windows Server 2022
(github runner), we get the following perl error:I tried to setup Perl in the workflow before rust build
But it does not fix the issue.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: