Skip to content

Refactor GitHub action workflow for nightly release #600

@IAmNotHanni

Description

@IAmNotHanni

Is your feature request related to a problem?

The current GitHub action workflow for nightly release works only by using a hack.
I currently wait for the msvc static code analysis (Release) to finish because I know this step takes the most time!

Description

In the nightly release, I want to include:

  1. the binaries from the build for all os and all compilers
  2. The static code analysis (SCA) reports from clang-tidy, cppcheck, and msvc code analysis (both debug and release)
  3. The documentation build
Image

This creates the following problem:

In GitHub actions, we can't have multiple conditions to trigger another workflow (from what I understand).
This means we can't tell GitHub actions to run the nightly workflow only after the following workflows have all completed: build, static code analysis, and building documentation.

There seem to be several way to fix this, but I am not happy with either one of them.

  • Option A: Create a nightly release based on scheduling around a certain time at night, let's say 4:00 am
  • Option B: Create 3 separate workflows which are individually triggered if the build, building docs, or static code analysis is finished. Each "follow-up" workflow then edits the nightly release.
  • Option C: Maybe we can link workflows? But again: We need to wait for all 3 to finish before creating the release!

Alternatives

Keep everything as it is

Affected Code

The GitHub action workflow

Operating System

Additional Context

Metadata

Metadata

Assignees

Labels

feat:cicontinuous integrationprio:lowThis has low priority.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions