Skip to content

Update window workflow#377

Merged
brarcher merged 32 commits into
masterfrom
windows-workflow-fixes
Jul 1, 2026
Merged

Update window workflow#377
brarcher merged 32 commits into
masterfrom
windows-workflow-fixes

Conversation

@brarcher

@brarcher brarcher commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The windows workflow hasn't been updated in a while, and some of the tool versions aren't available
on the windows vms anymore. Updating the workflow to use more recent tools.

brarcher added 30 commits June 30, 2026 21:15
Github announced in 2026 that the 2026 version of Visual Studio
is now available. Switching to that version, as the previous
version used in the workflow from 2019 is no longer available.
The msys2 installation used on the windows vms don't have
autotools installed like they did previously. To fix, the
package manager for msys2 will be used to install autotools 
first:

https://packages.msys2.org/packages/autoconf-wrapper
The pacman tool needs the --noconfirm flag so it doesn't
ask for user confirmation.
The project config in github expects it to be called vs16.
Technically the name is now out of date. However, I'm 
aiming to get the tests working for now, and don't want
to also update the workflow names too.
It was already being checked later on
brarcher added 2 commits June 30, 2026 23:29
In updating the tests for windows to start passing,
It was observed that one of the tests for msys2 in
cmake are now failing:

test_ck_assert_ldouble_eq in check_check_sub.c

The test is expected to fail with the following message:

Assertion 'x == y' failed: x == 1.1, y == 1.2

However, it’s actually failing with:

Assertion 'x == y' failed: x == 2.42347e-312, y == 2.42347e-312

The other platforms being tested are getting the expected error message. It’s not clear what’s wrong with msys2 using cmake. Msys2 and autotools gets the expected result.
@brarcher brarcher merged commit bcb753f into master Jul 1, 2026
17 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant