-
Notifications
You must be signed in to change notification settings - Fork 54
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
errors don't propagate correctly on windows #1050
Comments
Ah, and on
Presumably it also runs into #1051 though |
For
Tests are specified as follows: tests:
- script:
- if: unix
then:
- test ! -f ${PREFIX}/lib/libz.a
- test ! -f ${PREFIX}/lib/libz${SHLIB_EXT}
- test ! -f ${PREFIX}/include/zlib.h
else:
- if not exist %LIBRARY_BIN%\zlib.dll exit 1
- if not exist %PREFIX%\zlib.dll exit 1 and I can see that the respective files are actually there:
|
Do you know if this is different from Windows has always been pretty weird with the |
You should use the |
Sure, but we don't actually do anything with error level. We might need a different flag for |
Just FYI there is one line from the script execution in what you pasted:
Do you have an idea on how to fix this? Also just an aside, you can also use the new package content test, e.g.: tests:
- package_content:
lib: [zlib] |
I took a look just now, and both conda-build and rattler-build are calling I will try to come up with a short test script to see if I can reproduce or find a better way of dealing with things on Windows. If you have ideas for a good reproducer, please let me know :) |
Perfect, that's something actually to tackle at least! |
Moji-bake fixed: conda-forge/conda-smithy#2091 |
While CI in conda-forge/zlib-feedstock#83 is pretty broken due to various issues, I noticed that
win-arm64
unexpectedly passed (in particular because even when built with conda-build it currently runs into conda-forge/vc-feedstock#83).Looking at the logs, I see
however, the build simply continues, and due to the lack of tests in cross-compilation, the build "passes".
Speaking of windows, there's a bunch of mojibake in all the requirements tables:
The text was updated successfully, but these errors were encountered: