Skip to content

Refactor ci#159

Merged
wusatosi merged 7 commits intobemanproject:mainfrom
wusatosi:refactor-ci
May 8, 2025
Merged

Refactor ci#159
wusatosi merged 7 commits intobemanproject:mainfrom
wusatosi:refactor-ci

Conversation

@wusatosi
Copy link
Copy Markdown
Member

Description

Simplify main build-and-test CI pipeline by extracting CMake invocation as a separate module.

Motivation and Context

This is to prepare for the infra repo, we can ship in this CMake invocation as a standalone GitHub action package or using symlink with git submodule (see: #158 )

Testing

CI passing.

Meta

  • If all approvals are obtained and the PR is green, any Beman member can merge the PR.

-S . \
-DCMAKE_CXX_STANDARD=${{ inputs.cpp_version }} \
-DCMAKE_TOOLCHAIN_FILE="${{ inputs.toolchain_file }}" \
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="./cmake/use-fetch-content.cmake" \
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should take this line out when the packaging alternative is setup.

@wusatosi
Copy link
Copy Markdown
Member Author

wusatosi commented May 6, 2025

@bretbrownjr can you take a look at this PR? While this is not reuseable workflow, this does extract common steps.

I am expecting to extract the environment setup in another PR when the testing container is up.

@wusatosi
Copy link
Copy Markdown
Member Author

wusatosi commented May 8, 2025

I will merge this first, @bretbrownjr you can always leave review comments once you have time to look through this :)

@wusatosi wusatosi merged commit 1028596 into bemanproject:main May 8, 2025
67 checks passed
@wusatosi wusatosi deleted the refactor-ci branch May 8, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants