NatLabRockies / NatLabRockies/OpenStudio

Revamp full-buil.yml

Open
#5,624 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Developer Issue
Dominant language
C++
Stars
646
Forks
237
Avg merge
3d 11h
Merged PRs (30d)
10

Description

Description

full-build.yml has a lot of weirdness in there. Everytime I start looking I find something extremely strange.

Also, we should have a full green for the workflow, which isn't true right now.

Current Behavior

Why does windows add Miktex?!

https://github.com/NatLabRockies/OpenStudio/blob/e0173bff2ab9dfbb76701d6fb6ad97971548c44d/.github/workflows/full-build.yml#L1322

Why does Windows use NSIS generator and not IFW (QtIFW) like we've done for ages?

Why does it patch the python/module/openstudio.py instead of making the change in git directly?

Expected Behavior

Should be clean and sensible.

Steps to reproduce

https://github.com/NatLabRockies/OpenStudio/blob/e0173bff2ab9dfbb76701d6fb6ad97971548c44d/.github/workflows/full-build.yml#L1322

Possible Solution

No response

Operating System affected

No response

Environment

all

Version of OpenStudio

3.11.0

Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/workflows/full-build.yml, especially the Windows section around line 1322, and inspect the existing full-build workflow from setup through packaging. Compare the MikTeX, NSIS/QtIFW, and Python-module patching steps, then run the full workflow. Done means the workflow is cleaned up and completes fully green on all supported environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.