[ci] add gcc14 make on linux#823
Merged
yuxiaomao merged 2 commits intoHaxeFoundation:masterfrom Sep 5, 2025
Merged
Conversation
tobil4sk
reviewed
Sep 3, 2025
.github/workflows/build.yml
Outdated
| sudo apt install -y gcc-14 g++-14 | ||
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14 | ||
| gcc --version | ||
| export CC=gcc |
Member
There was a problem hiding this comment.
I don't think this line has the intended effect (it does not persist between shells), but maybe it's not necessary if the new version is already added to path?
tobil4sk
reviewed
Sep 3, 2025
.github/workflows/build.yml
Outdated
| target: [linux, darwin, windows] | ||
| architecture: [32, 64, arm64] | ||
| build_system: [make, cmake, vs2019] | ||
| build_system: [make, cmake, vs2019, makegcc] |
Member
There was a problem hiding this comment.
gcc should already be used on linux by default with make, so maybe we should call this new config something a bit more descriptive.
Collaborator
Author
|
Indeed it works without export CC, as show in my run https://github.com/yuxiaomao/hashlink/actions/runs/17455087109/job/49566955510
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Detect errors such as in
Code from