-
Notifications
You must be signed in to change notification settings - Fork 23
Build toolchain on GitHub Actions #31
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
base: master
Are you sure you want to change the base?
Conversation
Added a step to install dependencies for the build process.
Removed installation of specific versions of gcc and g++.
| branches: [ "master" ] | ||
| tags: [ "*" ] | ||
| pull_request: | ||
| branches: [ "master" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| branches: [ "master" ] | |
| branches: [ "master", "main"] |
We should rename this to main while you're tinkering
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to address that separately, and through all the osquery repos when we do it.
.github/workflows/build.yml
Outdated
| if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then | ||
| echo "VERSION=${GITHUB_REF_NAME}-$(uname -m)" >> "$GITHUB_ENV" | ||
| else | ||
| echo "VERSION=${GITHUB_SHA}-$(uname -m)" >> "$GITHUB_ENV" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine, but will also be a lot harder to understand than git describe --tags --always --dirty
Actually... I think you can ditch the if statement and just use that directly.
No description provided.