Skip to content
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

cmake: fix and tidy up c-ares builds, enable in more CI jobs #14541

Closed
wants to merge 12 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Aug 14, 2024

  • set CARES_NO_DEPRECATED to avoid c-ares deprecation warnings.
    Like autotools does.

  • drop unused c-ares header directory when building libtests and test
    servers.

  • disable TrackMemory (aka CURLDEBUG) feature for MSVC builds.
    It fails on test 558 and 1330, saying that TrackMemory isn't working.
    Left a FIXME about it.

  • GHA/macos: enable c-ares in a cmake job.

  • GHA/windows: enable c-ares in MSVC job.
    Fixes GHA/windows: add MSVC c-ares to openssl job #14202

  • GHA/windows: add c-ares mingw autotools job with tests.
    (move --with-windows-unicode option from 'default' job to
    this one to keep the former "default".)
    Put these tests on ignore for now:

    FAIL 472: 'aws-sigv4 with query' HTTP, aws-sigv4
    FAIL 1299: 'Send "OPTIONS *" with --request-target' HTTP, --request-target
    FAIL 1613: 'Send "OPTIONS *" with --request-target to a proxy' HTTP, HTTP proxy, --request-target
    

    Ref: https://github.com/curl/curl/actions/runs/10388126947/job/28765761441#step:15:5902

    472: fails with mingw despite Unicode enabled.
    1299, 1613: seem like a case of expanding '*' to a filename.

  • GHA/windows: enable c-ares in mingw cmake job.

@vszakats vszakats added cmake name lookup DNS and related tech labels Aug 14, 2024
@vszakats vszakats marked this pull request as draft August 14, 2024 09:08
@github-actions github-actions bot added tests CI Continuous Integration labels Aug 14, 2024
@vszakats vszakats changed the title cmake: c-ares tests cmake: fix and tidy up c-ares builds, enable in more GHA jobs Aug 14, 2024
@vszakats vszakats changed the title cmake: fix and tidy up c-ares builds, enable in more GHA jobs cmake: fix and tidy up c-ares builds, enable in more CI jobs Aug 14, 2024
@vszakats vszakats force-pushed the cm-ares-tests branch 2 times, most recently from ea7479f to 830836e Compare August 14, 2024 13:04
It fails on this platform, despite linking statically.

Ref: 96a1a05 curl#14096
472: fails with mingw with Unicode enabled.
1299, 1613: seem like a case of expanding '*' to a filename.

```
FAIL 472: 'aws-sigv4 with query' HTTP, aws-sigv4
FAIL 1299: 'Send "OPTIONS *" with --request-target' HTTP, --request-target
FAIL 1613: 'Send "OPTIONS *" with --request-target to a proxy' HTTP, HTTP proxy, --request-target
```
Ref: https://github.com/curl/curl/actions/runs/10388126947/job/28765761441#step:15:5902
@vszakats vszakats marked this pull request as ready for review August 14, 2024 15:27
@vszakats vszakats closed this in 9f23c8f Aug 15, 2024
@vszakats vszakats deleted the cm-ares-tests branch August 15, 2024 07:45
vszakats added a commit that referenced this pull request Aug 20, 2024
The new mingw job (the first msys2/mingw job to run tests) is seen
hanging frequently.

Follow-up to 9f23c8f #14541
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration cmake name lookup DNS and related tech tests
Development

Successfully merging this pull request may close these issues.

1 participant