Skip to content

Move Build & Test out of docker#48

Merged
camio merged 8 commits intobemanproject:mainfrom
wusatosi:build-test
Oct 21, 2024
Merged

Move Build & Test out of docker#48
camio merged 8 commits intobemanproject:mainfrom
wusatosi:build-test

Conversation

@wusatosi
Copy link
Copy Markdown
Member

@wusatosi wusatosi commented Oct 18, 2024

This PR moves the build and test system in CI out of docker and refactors the CI script.

This PR is functionally the same as head (with minor improvement).

Reduce CI time from ~2 minutes down to ~45 seconds.

Based on Discussion here: https://discourse.bemanproject.org/t/should-we-use-or-remove-docker-from-beman/228

Closes #27

Comment on lines -44 to -47
echo "image-version=$(echo $ImageVersion)" >> "$GITHUB_OUTPUT"
working-directory: .
- name: modify number of bits to use for ASLR entropy
if: ${{ steps.runner-image-version.outputs.ImageVersion }} == '20240310.1.0'
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 no longer have to care about this. Current image version has well past this post.

(Also this condition was erroneous).

with:
cmakeVersion: "~3.25.0"
ninjaVersion: "^1.11.1"
- name: Print installed softwares
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.

GitHub Image comes with Clang and GCC, we can setup specific version of them if needed in the future.

Copy link
Copy Markdown
Member

@steve-downey steve-downey left a comment

Choose a reason for hiding this comment

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

👍

@wusatosi wusatosi mentioned this pull request Oct 18, 2024
Copy link
Copy Markdown
Member

@camio camio left a comment

Choose a reason for hiding this comment

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

I added some minor comments, but otherwise approve.

Comment thread .github/workflows/ci_tests.yml Outdated
Comment thread .github/workflows/ci_tests.yml Outdated
Comment thread .github/workflows/ci_tests.yml Outdated
@wusatosi wusatosi mentioned this pull request Oct 19, 2024
6 tasks
Comment thread .github/workflows/ci_tests.yml
Copy link
Copy Markdown
Member

@neatudarius neatudarius left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@wusatosi wusatosi mentioned this pull request Oct 21, 2024
@camio camio merged commit 8b262b7 into bemanproject:main Oct 21, 2024
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.

CI Improvements

4 participants