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

.github/ actions: replace travis #49

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

cujomalainey
Copy link
Member

We removed them from the main repo, lets remove them here too.

Signed-off-by: Curtis Malainey cujomalainey@chromium.org

@cujomalainey cujomalainey requested a review from marc-hb May 20, 2021 23:50
@cujomalainey
Copy link
Member Author

WIP, just figured i would share as an FYI

Copy link
Contributor

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

Is this missing the "checkout" action?

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
@cujomalainey
Copy link
Member Author

Is this missing the "checkout" action?

very likely, this was a copy paste refactor when I was doing the cppcheck work and haven't touched it in a few weeks, looking to land it soon.

Copy link
Contributor

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

Should be named "move travis.yml to github actions" instead.

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/pull-request.yml Outdated Show resolved Hide resolved
.github/workflows/pull-request.yml Outdated Show resolved Hide resolved
.github/workflows/pull-request.yml Show resolved Hide resolved
@cujomalainey
Copy link
Member Author

@marc-hb feel free to ignore pushes till i mark ready for review, just running tests

@cujomalainey
Copy link
Member Author

@marc-hb i am at a loss for why checkpatch is not working properly, locally when i run the same command it performs the check on only my patch as expected, but in CI it seems to check the whole repo, any guesses what is going on?

@lgirdwood
Copy link
Member

@cujomalainey @marc-hb any resolution here ?

@cujomalainey
Copy link
Member Author

I have AIs, I just need to find time to do them

@marc-hb marc-hb changed the title actions: remove travis .github/ actions: replace travis Jan 26, 2022
@marc-hb
Copy link
Contributor

marc-hb commented Jan 26, 2022

@cujomalainey , if you still don't have the time, maybe @aborisovich could take over?

It looks like https://github.com/actions/virtual-environments offers some Windows environments too.

@cujomalainey
Copy link
Member Author

cujomalainey commented Jan 26, 2022

@marc-hb works for me, we had a re-org right after I started this and I have not had as much time to work upstream as I have wanted since then.

@aborisovich
Copy link
Contributor

@marc-hb I am starting next week work related to IPC/IDC Zephyr API usage and concept of a refactored build system that would allow seamlessly build SOF+Zephyr on both Linux and Windows for some platforms will be unfinished. I'm drowning in work for now.

@marc-hb
Copy link
Contributor

marc-hb commented Jan 27, 2022

I understand, thx.

On the other hand, I found Github Actions the best to test build system changes.

@cujomalainey
Copy link
Member Author

Eh, 12months later and it still rebases cleanly. Apologies for abandoning this

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Correct: by default checkout gives pull/12355/merge which is what most people want by default (even when they don't have a clue).

BTW: https://github.com/thesofproject/sof/blob/main/.github/workflows/codestyle.yml

.github/workflows/pull-request.yml Outdated Show resolved Hide resolved
@lgirdwood
Copy link
Member

@cujomalainey good to target for v2.5 ?

@cujomalainey
Copy link
Member Author

Can't make any promises, this is pretty low on my priority list unfortunately

We removed them from the main repo, lets remove them here too.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
@cujomalainey
Copy link
Member Author

@marc-hb @lgirdwood all green, I think this is FINALLY ready to go. Then we can remove any travis hooks left.

@lgirdwood lgirdwood merged commit d20f1d8 into thesofproject:main Jul 31, 2023
4 checks passed
@cujomalainey cujomalainey deleted the travis branch August 1, 2023 05:07
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.

4 participants