Skip to content

remove actions-rs #951

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

Merged
merged 2 commits into from
Oct 2, 2022
Merged

remove actions-rs #951

merged 2 commits into from
Oct 2, 2022

Conversation

Emilgardis
Copy link
Member

@Emilgardis Emilgardis commented Jul 15, 2022

This essentially removes all actions-rs actions and replaces it with what is needed.

Reason for this is due to actions-rs being seemingly unmaintained

@Emilgardis Emilgardis requested a review from a team as a code owner July 15, 2022 23:04
@Emilgardis
Copy link
Member Author

this follows the general consensus as discussed in actions-rs/toolchain#216

it also adds a matcher, which would otherwise be gone

@Emilgardis Emilgardis added the no changelog A valid PR without changelog (no-changelog) label Jul 15, 2022
Comment on lines 12 to 17
{
"regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$",
"file": 2,
"line": 3,
"column": 4
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
{
"regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$",
"file": 2,
"line": 3,
"column": 4
}
{
"regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$",
"file": 2,
"line": 3,
"column": 4
},
{
"regexp": "^\\d* *(\\||=)(.*)$",
"message": 0,
"loop": true
}

I wanted it to be this, but it's not possible due to actions/toolkit#319 (which should probably be re-opened or re-issued)

Copy link
Member Author

@Emilgardis Emilgardis Jul 15, 2022

Choose a reason for hiding this comment

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

technically, this would be possible if it was possible for cargo/rustc to output json diagnostics and human diagnostics, the error annotations in the log would be strange however.

Copy link
Contributor

@Alexhuszagh Alexhuszagh left a comment

Choose a reason for hiding this comment

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

lgtm, just needs a single newline in the JSON file.

@Emilgardis Emilgardis force-pushed the rust-ci branch 3 times, most recently from 069ac8c to 99fb540 Compare July 18, 2022 06:53
@Emilgardis
Copy link
Member Author

bors r=@Alexhuszagh

bors bot added a commit that referenced this pull request Aug 10, 2022
951: remove actions-rs r=Alexhuszagh a=Emilgardis

This essentially removes all actions-rs actions and replaces it with what is needed.

Reason for this is due to actions-rs being seemingly unmaintained

Co-authored-by: Emil Gardström <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 10, 2022

Build failed:

@Emilgardis
Copy link
Member Author

bors try --target x86_64-unknown-linux-gnu

will squash (and rebase) on success)

bors bot added a commit that referenced this pull request Aug 10, 2022
@bors
Copy link
Contributor

bors bot commented Aug 10, 2022

try

Build succeeded:

@Alexhuszagh
Copy link
Contributor

bors try --target x86_64-unknown-linux-gnu

going to give it a careful re-review, but looks good so far.

bors bot added a commit that referenced this pull request Aug 12, 2022
@bors
Copy link
Contributor

bors bot commented Aug 12, 2022

try

Build succeeded:

@reitermarkus
Copy link
Member

Relatedly, but not necessarily relevant for this particular PR, I have been thinking about creating a cross-rs/install action which would install the cross binary from our GitHub releases rather than having to build it from source in CI every time.

@Emilgardis
Copy link
Member Author

Relatedly, but not necessarily relevant for this particular PR, I have been thinking about creating a cross-rs/install action which would install the cross binary from our GitHub releases rather than having to build it from source in CI every time.

That sounds good, it is possible to use https://github.com/taiki-e/install-action for now, but would be neat to have, and easy to support 👍🏼

@reitermarkus
Copy link
Member

Neat, didn't know about https://github.com/taiki-e/install-action.

@Alexhuszagh
Copy link
Contributor

Alexhuszagh commented Oct 2, 2022

Still looks good after #1033, am I free to merge this @Emilgardis?

@Emilgardis
Copy link
Member Author

Yep @Alexhuszagh

@Alexhuszagh
Copy link
Contributor

bors r=Alexhuszagh,reitermarkus

@bors
Copy link
Contributor

bors bot commented Oct 2, 2022

Build failed:

@Emilgardis
Copy link
Member Author

bors try --target *windows-msvc

bors bot added a commit that referenced this pull request Oct 2, 2022
Copy link
Contributor

@Alexhuszagh Alexhuszagh left a comment

Choose a reason for hiding this comment

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

bors try-
Canceled the workflow because the issue was detected and wasn't a spurious error. See the comments above for removing shell: bash to fix the new CI actions and workflows.

@Emilgardis
Copy link
Member Author

bors try --target *windows-msvc

bors bot added a commit that referenced this pull request Oct 2, 2022
@Emilgardis
Copy link
Member Author

bors try --target *windows-msvc

@bors
Copy link
Contributor

bors bot commented Oct 2, 2022

try

Already running a review

@Emilgardis
Copy link
Member Author

bors try-
bors try --target *windows-msvc

bors bot added a commit that referenced this pull request Oct 2, 2022
@Emilgardis
Copy link
Member Author

bors try-
bors try --target *windows-msvc

bors bot added a commit that referenced this pull request Oct 2, 2022
@bors
Copy link
Contributor

bors bot commented Oct 2, 2022

try

Build failed:

@Emilgardis
Copy link
Member Author

bors try --target *windows-msvc

bors bot added a commit that referenced this pull request Oct 2, 2022
@bors
Copy link
Contributor

bors bot commented Oct 2, 2022

try

Build succeeded:

@Emilgardis
Copy link
Member Author

it works!

image

Copy link
Contributor

@Alexhuszagh Alexhuszagh left a comment

Choose a reason for hiding this comment

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

bors r=Alexhuszagh,reitermarkus

@bors
Copy link
Contributor

bors bot commented Oct 2, 2022

Build succeeded:

@bors bors bot merged commit a0c320f into cross-rs:main Oct 2, 2022
@Emilgardis Emilgardis deleted the rust-ci branch October 2, 2022 16:38
@Emilgardis Emilgardis added this to the v0.3.0 milestone Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog A valid PR without changelog (no-changelog)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants