X Tutup
Skip to content

Force windows build#187

Merged
etr merged 30 commits intomasterfrom
Re-start-windows-builds
Mar 9, 2020
Merged

Force windows build#187
etr merged 30 commits intomasterfrom
Re-start-windows-builds

Conversation

@etr
Copy link
Copy Markdown
Owner

@etr etr commented Mar 8, 2020

Identify the Bug

Recovers the build on windows in travis - travis is not building on windows anymore seemingly due to an inversion in priority of exclude and include.

Description of the Change

As travis seems to have inverted the priority of exclude and include, the windows build is missing. This attempts to obtain the windows build again by:

  1. Removing windows from the matrix entirely thus preventing it from building the full set of combinations.
  2. Removing the exclude that now has priority over the include
  3. Leaving the include (it should allow it even if removed from the matrix).

Alternate Designs

Full support for the windows build matrix. Not currently possible due to the limited support from travis for windows.

Possible Drawbacks

Errors in build. Discoverable through CI.

Verification Process

Running the CI process.

Release Notes

CI builds on windows again.

Remove windows from the list of OS to avoid matrix creation.
Remove windows from the exclusion list (which seems to have reversed priority with include).
Left windows as explicit inclusion
@etr etr self-assigned this Mar 8, 2020
@etr
Copy link
Copy Markdown
Owner Author

etr commented Mar 8, 2020

See conversation here too: #186

@etr etr linked an issue Mar 8, 2020 that may be closed by this pull request
1 task
@etr etr added the travis Related to travis and the CI system label Mar 8, 2020
@etr
Copy link
Copy Markdown
Owner Author

etr commented Mar 8, 2020

The state of build on windows in travis seems to have actually worsened.

I see a large number of timeouts during the installation of msys2 and autotools through choco and pacman.

This to test whether this is the reason for the missing inet_ntop on windows builds
@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 8, 2020

Codecov Report

Merging #187 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #187   +/-   ##
=======================================
  Coverage   95.19%   95.19%           
=======================================
  Files          35       35           
  Lines        3140     3140           
=======================================
  Hits         2989     2989           
  Misses        151      151
Impacted Files Coverage Δ
test/integ/ws_start_stop.cpp 88.34% <ø> (ø) ⬆️
src/httpserver/http_utils.hpp 100% <ø> (ø) ⬆️
src/http_utils.cpp 99.17% <ø> (ø) ⬆️
test/integ/deferred.cpp 100% <ø> (ø) ⬆️
test/integ/authentication.cpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee2f258...01a2b27. Read the comment docs.

@etr
Copy link
Copy Markdown
Owner Author

etr commented Mar 8, 2020

For some reason, the re-ordering seemed to have been preventing the import of the correct libraries. Need to investigate - I will use this branch to fix it before pushing out.

This respects the ordering of the libraries we have just established
@etr etr merged commit bc700b5 into master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

travis Related to travis and the CI system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Travic-CI config doesn't build/test for Windows.

2 participants

X Tutup