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

Rework Windows CI to use MSYS2 #4184

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

jasagredo
Copy link
Contributor

@jasagredo jasagredo commented Jul 15, 2022

Windows Github Actions is at the moment a mixture of several different solutions, namely:

  • hydra artifacts
  • chocolatey
  • vcpkg
  • pkgconfig-lite
  • manual intervention to find headers
  • installing OpenSSL

This PR unifies the Windows Github actions approach into using MSYS2 and installing everything in a standardized way.

Also, the different cabal.project.local.$RUNNER files are no longer required.

@jasagredo jasagredo self-assigned this Jul 15, 2022
@jasagredo jasagredo changed the title DRAFT: Rework Windows CI to use MSYS2 Rework Windows CI to use MSYS2 Jul 15, 2022
@jasagredo jasagredo marked this pull request as ready for review July 15, 2022 10:33
@jasagredo jasagredo requested a review from a team July 15, 2022 10:34
@jasagredo jasagredo added nix Nix-based build and CI infrastructure Windows Specific to Windows labels Jul 15, 2022
@jasagredo jasagredo force-pushed the jasagredo/fix-windows-ci-MSYS2-on-master branch from f6c35fc to 12f37e1 Compare July 15, 2022 14:51
@jasagredo jasagredo force-pushed the jasagredo/fix-windows-ci-MSYS2-on-master branch 6 times, most recently from 9f9ec98 to a65dd57 Compare July 18, 2022 14:16
iohk-bors bot added a commit to IntersectMBO/ouroboros-network that referenced this pull request Jul 18, 2022
3901: Windows Github Actions now uses MSYS2 r=Jasagredo a=Jasagredo

# Description

Windows Github actions CI makes use of chocolatey and some hydra artifacts to run. This PR unifies the approach for Windows [by using MSYS2](https://github.com/msys2/setup-msys2).

Done in the same style as [this PR in `cardano-node`](IntersectMBO/cardano-node#4184)



Co-authored-by: Javier Sagredo <jasataco@gmail.com>
iohk-bors bot added a commit to IntersectMBO/ouroboros-network that referenced this pull request Jul 18, 2022
3901: Windows Github Actions now uses MSYS2 r=Jasagredo a=Jasagredo

# Description

Windows Github actions CI makes use of chocolatey and some hydra artifacts to run. This PR unifies the approach for Windows [by using MSYS2](https://github.com/msys2/setup-msys2).

Done in the same style as [this PR in `cardano-node`](IntersectMBO/cardano-node#4184)



Co-authored-by: Javier Sagredo <jasataco@gmail.com>
@jasagredo jasagredo force-pushed the jasagredo/fix-windows-ci-MSYS2-on-master branch from a65dd57 to 8e229c7 Compare July 19, 2022 09:06
@jasagredo
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jul 19, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit c33c06f into master Jul 19, 2022
@iohk-bors iohk-bors bot deleted the jasagredo/fix-windows-ci-MSYS2-on-master branch July 19, 2022 11:14
iohk-bors bot added a commit that referenced this pull request Feb 4, 2023
4612: Cardano Node 1.35.6 aka Single Relay P2P release r=coot a=coot

Update `ouroboros-network-0.2.0.0`.

This also cherry-picked CI commits:
* e745ca8 from #4184
* #4513
* #4526
* #4590

Co-authored-by: Michael Peyton Jones <michael.peyton-jones@iohk.io>
Co-authored-by: Marcin Szamotulski <coot@coot.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nix Nix-based build and CI infrastructure Windows Specific to Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants