Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

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
Owner

@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant