-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Actions: Canonicalize architecture names #10681
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
Conversation
Linux x32 ABI: https://en.wikipedia.org/wiki/X32_ABI |
I can see that the naming is confusing but don't personally consider it a big deal. TBH I always thought |
OK, I don't have a particular preference for naming conventions either. I just feel that How about changing |
|
This is a very complicated issue, but the notation Similarly, I think it would be better to change the current (I found this situation when I was thinking about ARM support for CI and wanted to get the architecture name right) |
Currently, there is no way to run CI for free using an ARM instance via QEMU, and it seemed unlikely that the original goal would be achieved. Azure seems to offer it, but that is probably no longer available. (I know nothing about the relationship between PHP Group and MS.) As for macOS, it appears that it is already scheduled to be offered: |
@zeriyoshi We moved away from Azure Pipelines. I think MS is mainly focusing on GitHub actions. I suggest you try Cirrus, they also offer ARM. |
@iluuu1994 |
@iluuu1994 |
@zeriyoshi Yeah, we only use Travis for architectures that there are no alternatives for.
Oh. I didn't notice. That's unfortunate. I'll have a look soon. |
I don't remember what was the reason again, but I think it was because Travis was being really flaky and not starting the builds properly |
I created an issue. #10683 |
@zeriyoshi You need to rebase the branch locally onto PHP-8.0 and force push |
b79f6a0
to
ab6f22a
Compare
@Girgias |
e02f50c
to
0e45ed7
Compare
|
@iluuu1994 Also, it has the |
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.
Weird, not sure why these macOS tests fail but I doubt its related.
.github/workflows/nightly.yml
Outdated
@@ -233,7 +233,7 @@ jobs: | |||
-d opcache.jit=1205 | |||
- name: Verify generated files are up to date | |||
uses: ./.github/actions/verify-generated-files | |||
COVERAGE_DEBUG_NTS: | |||
COVERAGE_X86_64_DEBUG_NTS: |
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 guess more consistent would be LINUX_X86_64_DEBUG_NTS_COVERAGE
. Or we could drop everything and just do COVERAGE
, because the arch and configs are not very relevant for these builds. Same with the jobs below.
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.
Indeed, as far as coverage is concerned, it has little to do with architecture, so I'll take it back.
I think the test fails on macOS probably due to the version of ICU. This is not related to this fix, so we will attempt to fix this separately. |
8913918
to
311f7b5
Compare
@iluuu1994 Can I do the merge work? Probably this is a conflict in PHP-8.1, PHP-8.2, which needs to be resolved properly. |
I prefer |
@mvorisek |
This may not be very important. We do not have time to respond to it, so we will close it for now. Thank you! |
The current GitHub Actions job or script names are not normalized, and in particular the name
x32
is very confusing with the Linux x32 ABI.In this PR, we have changed to the more common names
i386
andamd64
. Theamd64
is also calledx86_64
, but sincei386
is not calledx86
, we see no reason not to callx86_64
amd64
.