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

Add OpenJO build to GitHub actions #1173

Merged
merged 9 commits into from
Oct 10, 2023
Merged

Add OpenJO build to GitHub actions #1173

merged 9 commits into from
Oct 10, 2023

Conversation

Razish
Copy link
Member

@Razish Razish commented Sep 27, 2023

This is based off the work done in #1169, which should be merged first (then rebase this). ✅ has been merged

Adds OpenJO build options to existing matrix (not a new variant), adds separate packaging + upload steps.
It's not added as a new matrix entry to reduce unnecessary jobs/work. A lot of the build process will be shared, and it's already built into different target dirs.

Normalised cmake configuration options across runners.

Fixed a couple incorrect context usages:

  • runner.build_type should have been matrix.build_type, it was expanding to "".
  • runner.workspace should probably be github.workspace: github context

TODO

  • Remove UseInternalLibs, it doesn't exist in OJK. May need to specify exactly which libs.
  • Can we parallelise cmake --build steps? We have at least 2 cores
  • Windows builds artifacts may be including a bunch of unnecessary libs since there's another parent folder (OpenJK/OpenJO)

Future work

  • Consider OpenGL_GL_PREFERENCE=GLVND? It is defaulting to legacy GL libs currently.

.github/workflows/build.yml Outdated Show resolved Hide resolved
@Razish Razish marked this pull request as ready for review September 29, 2023 14:59
@Razish Razish requested a review from a team as a code owner September 29, 2023 14:59
.github/workflows/build.yml Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@taysta taysta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, hopefully this gets merged soon so people have better access to the OpenJO builds

SomaZ added a commit to SomaZ/OpenJK that referenced this pull request Oct 9, 2023
@Razish Razish merged commit 137f55a into master Oct 10, 2023
16 checks passed
@Razish Razish deleted the add-openjo-build branch October 10, 2023 04:17
taysta pushed a commit to taysta/TaystJK that referenced this pull request Oct 10, 2023
* Fix up some context usage and normalise cmake options

* parallelise builds, split EternalJK steps on windows

* looks like the python shell is v2 with no f-strings

* alternative per-platform methods for obtaining the processor count

* Add UseInternalLibs cmake option to default all libs to internal

* remove unnecessary game path from create-latest step

* allow changes to CMake project files to trigger builds

(cherry picked from commit 137f55a)
taysta pushed a commit to taysta/TaystJK that referenced this pull request Oct 10, 2023
* Fix up some context usage and normalise cmake options

* parallelise builds, split EternalJK steps on windows

* looks like the python shell is v2 with no f-strings

* alternative per-platform methods for obtaining the processor count

* Add UseInternalLibs cmake option to default all libs to internal

* remove unnecessary game path from create-latest step

* allow changes to CMake project files to trigger builds

(cherry picked from commit 137f55a)
SomaZ added a commit to SomaZ/OpenJK that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants