Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Improve CI#111

Merged
waywardmonkeys merged 6 commits into
linebender:mainfrom
waywardmonkeys:improve-ci
Jul 7, 2023
Merged

Improve CI#111
waywardmonkeys merged 6 commits into
linebender:mainfrom
waywardmonkeys:improve-ci

Conversation

@waywardmonkeys

Copy link
Copy Markdown
Contributor

This updates various CI actions to using current or maintained versions.

This should reduce the number of warnings from GitHub about functionality that they have deprecated and plan to remove.

Marking as draft for now as I will push further changes to address other issues.

@waywardmonkeys waywardmonkeys marked this pull request as ready for review July 7, 2023 10:37

@DJMcNab DJMcNab left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These changes seem reasonable, although there is a bit of an explosion of jobs.

Do we really need to run clippy and testing both with and without accesskit?

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
@waywardmonkeys waywardmonkeys force-pushed the improve-ci branch 3 times, most recently from bf18889 to cd71d1c Compare July 7, 2023 11:55
@waywardmonkeys

Copy link
Copy Markdown
Contributor Author

@DJMcNab We need to skip the accesskit build when not on macOS or Windows, but handled that without job explosion.

@DJMcNab

DJMcNab commented Jul 7, 2023

Copy link
Copy Markdown
Member

What happens on unix when accesskit is enabled? I struggle to foresee that failing to compile - it should just do nothing when run.

If it fails to compile, that's a problem which needs fixing somewhat urgently - we should be encouraging consumers to enable the accesskit feature

@waywardmonkeys

Copy link
Copy Markdown
Contributor Author

You can see the failures in a previous run: https://github.com/linebender/glazier/actions/runs/5486073995

It can certainly be fixed in a different / subsequent PR.

Comment thread .github/workflows/ci.yml Outdated
`actions-rs` actions have been unmaintained for years and produce
warnings when used as they trigger deprecation notices about
functionality that GitHub will be removing.
`actions-rs` actions have been unmaintained for years and produce
warnings when used as they trigger deprecation notices about
functionality that GitHub will be removing.
This was a remnant of the `druid-shell` days and not needed here.
v1 produces warnings when used as it triggers deprecation notices
about functionality that GitHub will be removing.
This checks that the accesskit feature compiles the library and
the `accesskit` example.

This only runs the tries to build it on macOS and Windows as
`glazier` doesn't yet support `accesskit` elsewhere.

@xStrom xStrom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for pushing this forward!

I agree with the previous note that the accesskit example shouldn't have its own job, nor should it be limited in OS coverage. However I also agree with your assessment that resolving that should be followup work (and not necessarily by you). I'll create an issue to track it.

I think this is good to merge as is.

@waywardmonkeys waywardmonkeys merged commit 273eb3e into linebender:main Jul 7, 2023
@waywardmonkeys waywardmonkeys deleted the improve-ci branch July 7, 2023 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants