Skip to content
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

Add GitHub Actions #1598

Merged
merged 11 commits into from Jul 19, 2022
Merged

Add GitHub Actions #1598

merged 11 commits into from Jul 19, 2022

Conversation

Thomasdezeeuw
Copy link
Collaborator

No description provided.

Should move over all of the Azure CI checks.
Adds:
 * arm-linux-androideabi
 * i686-unknown-linux-gnu
 * x86_64-apple-ios
 * x86_64-unknown-redox

Since we use this in GitHub Actions we'll need to match the targets of
Azure CI.
Required due to the use of -Zminimal-versions.
The performance of it doesn't really matter much.
@Thomasdezeeuw
Copy link
Collaborator Author

@Noah-Kennedy what do you think about the checking all the targets in separate steps (like for Azure) vs in one step (like the CheckTargets step I've added).

@Noah-Kennedy
Copy link

I like the CheckTargets step.

@Noah-Kennedy
Copy link

@Thomasdezeeuw we will need to have someone with perms set the required status checks in GitHub to be the actions versions, not the azure versions.

@Noah-Kennedy
Copy link

Also, you should add a job like tokio does that acts as the only needed status check, which simply depends on all other jobs to pass: https://github.com/tokio-rs/tokio/blob/master/.github/workflows/ci.yml#L32

@Thomasdezeeuw
Copy link
Collaborator Author

@Thomasdezeeuw we will need to have someone with perms set the required status checks in GitHub to be the actions versions, not the azure versions.

I got those permission.

Also, you should add a job like tokio does that acts as the only needed status check, which simply depends on all other jobs to pass: https://github.com/tokio-rs/tokio/blob/master/.github/workflows/ci.yml#L32

You mean only make that single job required?

@Noah-Kennedy
Copy link

I got those permission.

excellent

You mean only make that single job required?

Yes, this way we don't need you to manually add or remove status checks every time they change, we can just handle this through the normal PR process.

This will be the only job required to succeed to merge a pr.
Moved to GitHub Actions.
@Thomasdezeeuw
Copy link
Collaborator Author

I'm removing the deploy docs action: https://github.com/tokio-rs/mio/blob/4532c424dc9f8f28c6ff1f21e7ea2f911f8dd98b/ci/azure-deploy-docs.yml, I don't think it's used anymore as we moved to https://docs.rs/mio.

@Thomasdezeeuw Thomasdezeeuw marked this pull request as ready for review July 19, 2022 21:40
Copy link

@Noah-Kennedy Noah-Kennedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Thomasdezeeuw Thomasdezeeuw merged commit ef19161 into master Jul 19, 2022
@Thomasdezeeuw Thomasdezeeuw deleted the github-actions branch July 19, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants