Skip to content

Conversation

ojeda
Copy link
Member

@ojeda ojeda commented Feb 7, 2022

This allows us to use different (and in particular, newer) Ubuntu images,
it is easier to move it to another CI and to use it locally by others.

This, in turn, gives us easy access to e.g. newer GCCs like 11.2 which may
spot other issues, like the one by the Intel CI the other day (which
I wanted to reproduce in the CI -- this PR includes enabling the config option
that triggered it).

It also allows us to drop ci-bin, since we get QEMU 6.0 from Ubuntu
and we can compile BusyBox too.

It should also avoid most networking issues since we rely only on content
from GitHub.

Also contains a few other fixes.

ojeda added 5 commits February 7, 2022 00:37
While `bash` and other shells support it, `dash` (`/bin/sh` in Ubuntu)
does not, and it is better to avoid Bash-dependent behaviors anyway.

In particular, GitHub Actions, when using a container, does not attempt
to force `bash`, thus we can simply use `dash` instead.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
It is useful to know what was the final configuration used.

We could use `upload-artifact`, but that was flaky in the past for us,
(and there does not seem to be a way to ignore errors yet).

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This allows us to use different (and in particular, newer) Ubuntu images,
it is easier to move it to another CI and to use it locally by others.

This, in turn, gives us easy access to e.g. newer GCCs like 11.2 which may
spot other issues, like the one by the Intel CI the other day (which
I wanted to reproduce in the CI -- this commit includes enabling
the config option that triggered it).

It also allows us to drop `ci-bin`, since we get QEMU 6.0 from Ubuntu
and we can compile BusyBox too.

It should also avoid most networking issues since we rely only on content
from GitHub.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
@ojeda ojeda merged commit cca12de into Rust-for-Linux:rust Feb 7, 2022
@ojeda ojeda deleted the containers branch February 7, 2022 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant