Skip to content

ci: Replace wine tests with real tests on Windows? #31071

Closed

Description

@maflcko

The Wine tests are annoying, because they frequently fail (for more than a decade now), with no fix in sight.

Also, they are less useful than running on a real Windows.

My suggestion would be to replace the win64-cross CI task with one on GitHub Actions, using a real Windows. The cross compilation would still be done normally (to mimic guix), inside WSL. However, the unit tests would be run on the real Windows.

I won't be working on this myself, but I am happy to answer any questions on how to implement this, if they arise.

Activity

  1. maflcko commented on Oct 11, 2024

    @maflcko
    MemberAuthor

    Ugh, this may require WSL2, which isn't yet available on GHA?

  2. willcl-ark commented on Oct 11, 2024

    @willcl-ark
    Member

    I'm presuming that it may need WSL2 for the build, not the test stage?

    If so, we could consider using two GH jobs to split/run this test in two stages; one which does the cross-compile on ubuntu and saves the build artefacts, which, if successful, are then restored by the second (native windows) job to be executed natively under Windows.

    This could prove more tricky to actually execute in practice than it appears to me here though.

  3. hebasto commented on Oct 11, 2024

    @hebasto
    Member

    Ugh, this may require WSL2, which isn't yet available on GHA?

    The recent discussion is here.

  4. laanwj commented on Oct 22, 2024

    @laanwj
    Member

    Concept ACK. WINE tests are better than nothing, but clearly running the tests on real windows is better. It is not our job to test WINE. They were introduced because there were no usable CI systems for windows at the time.
    (But yeah we want to test the mingw cross-built Windows binaries, not just MSVC-geneated ones, because those are what we ship)

  5. maflcko commented on Dec 3, 2024

    @maflcko
    MemberAuthor

    Let's continue discussion in #31176

  6. added a commit that references this issue on Mar 31, 2025
  7. locked and limited conversation to collaborators on Dec 3, 2025
  8. added a commit that references this issue on Jun 28, 2026
  9. added a commit that references this issue on Jun 30, 2026
  10. added a commit that references this issue on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions