Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deduplicate CI build pipeline #874

Merged
merged 4 commits into from
Aug 14, 2022
Merged

Deduplicate CI build pipeline #874

merged 4 commits into from
Aug 14, 2022

Conversation

Xaymar
Copy link
Contributor

@Xaymar Xaymar commented Aug 13, 2022

Explain the Pull Request

The current build pipeline is extremely convoluted for no real gain. Build time can be reduced by opting to merge some of the stages into one element instead, such as platforms and build type.

Completion Checklist

  • I have added myself to the Copyright and License headers and files.
  • I will maintain this code in the future and have added myself to CODEOWNERS.
  • I have tested this change on the following platforms:
    • MacOS 10.15
    • MacOS 11
    • MacOS 12
    • Ubuntu 20.04
    • Ubuntu 22.04
    • Windows 10
    • Windows 11

@Xaymar Xaymar force-pushed the patch/dedup branch 5 times, most recently from d9e30e4 to 4b45650 Compare August 13, 2022 19:25
There is no point in completely separating these, as CMake can build out-of-tree just fine. Thus we can reduce the overall complexity significantly, and also detect far more problems ahead of time. As a side bonus, we get both debug and release packages in one go.
The runners "windows-2022" and "windows-2019" both come with almost identical software, and we can still target Windows 10 21H2. The same goes for "macos-12", "macos-11" and "macos-10.15", where we can simply target 10.15 and get the same result. Only Ubuntu does not make it easy, as it doesn't easily allow targeting a certain OS version.
@Xaymar Xaymar merged commit 1d1e646 into master Aug 14, 2022
@Xaymar Xaymar deleted the patch/dedup branch August 14, 2022 07:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant