-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Tweak GHA configs #526
Tweak GHA configs #526
Conversation
Old ones based on Node 16 are deprecated.
.github/workflows/analyze.yml
Outdated
@@ -61,11 +62,11 @@ jobs: | |||
|
|||
analyze-python-scripts: | |||
name: Python Scripts | |||
runs-on: ubuntu-22.04 | |||
runs-on: ubuntu-latest |
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.
Please leave 22.04 for stability reasons, we should better upgrade it manually once 24.04 is released and tested.
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.
.github/workflows/build.yml
Outdated
with: | ||
name: macOS XCODE5 Artifacts | ||
path: Binaries/*.zip | ||
- name: Upload to Release | ||
if: github.event_name == 'release' | ||
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d | ||
uses: svenstaro/upload-release-action@v2 |
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.
Please use a commit corresponding to their latest tag (release). We cannot entirely trust third-party repositories (non-GitHub) are not compromised and get their tags overwritten.
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.
The changes look good to me, would you update other repos or is there no big need in them? |
There are so many repos. I believe we can set up @renovate-bot to keep things up to date for them. |
Hi - Just as a reminder, if we switch to ARM build runner we should probably remove this: https://github.com/acidanthera/OpenCorePkg/blob/master/build_oc.tool#L328-L336 (Or, if we don't remove it, we will be shipping AARCH64 versions of these couple of BaseTools, which is probably less useful and may confuse people.) |
It could be addressed in a follow-up. |
Ouch, should we really remove that or rather make the tools FAT? In my opinion, should merge after we have a fix for it. |
Okay, look for better fix subsequently, for the issue I raised, agreed. |
@Goooler - Right, Vit's suggestion was to fix the issue I mentioned, first and then to merge your PR when that is done. So we will look at that, the plan is to do both after next release. Thank you. |
I think this should be ready to merge, following acidanthera/audk@33a4015 . Unfortunately the I am currently not managing to replicate the error, in order to fix it, using a local, non-container install of brew, even though brew, python3 and pip3 are all the same versions that are causing this to fail in the M1 runner. Adding |
Fixed: ab5aeec |
Switch back to ubuntu-latest, now it's22.04
.