-
Notifications
You must be signed in to change notification settings - Fork 13
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
Set up CI #134
Set up CI #134
Conversation
@ensonic CI runs in my fork because I added the CI file to master branch and then went testing in another branch. How about having a initial workflow file so the pull requests trigger a CI workflow run? For instance, a name: Build
on:
pull_request:
branches: 'master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo 'pass' would be enough to trigger my tests. |
Good idea. Added, you need to rebase the branch though. |
a48d226
to
54fc5cd
Compare
@ensonic Easy fix for a merge conflict. Now that I rebased (and force-pushed due to the first commit), can you please approve workflow to be run? |
It run. I'll check the build step that failed, probably because I locally don't build with:
|
That's one thing that got me wondering: why doc/help build failed if documentation was 'no' after configure. While this might be a good question, we probably want to enable them all, right? |
btw, The PR has permissions for maintainers to include commit. Feel free to add some commits. |
yay, enabling docs made the build go further:
|
Disabling
|
I've fixed the warning (that was a more recent change, so it's great if we have a ci to catch in in the PR review). |
@dlbeswick you left a note in https://github.com/Buzztrax/buzztrax/blob/master/docs/help/bt-edit/Makefile.am#L45 on the move, but it seems to also have weird side effects. |
I'll give up for today. Might try to revert e97b1c0 but then the out-of-srcdir build might be broken again. |
I'll try to take a look at this on the weekend and test with an in-tree
build to make sure my change was ok.
ในวันที่ ศ. 2 ก.พ. 2024 07:15 Stefan Sauer ***@***.***>
เขียนว่า:
… I'll give up for today. Might try to revert e97b1c0
<e97b1c0>
but then the out-of-srcdir build might be broken again.
—
Reply to this email directly, view it on GitHub
<#134 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG5TKAZ2AU5AMEUBOBESLTYRPZUNAVCNFSM6AAAAABCTIY4UGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRSGE2TMMRRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think this was my fault. Please give this diff a go, it looks to work with both in and out of tree builds.
|
Here's my configure command that I'm getting successful builds with, by the way:
|
Thanks, it indeed fixed the issue. Now, the build went further and failed in According to this workflow run, make check fails with:
|
Now, the CI-related question is: what flags do we want enabled? Simply enable-debug seems to me as failing too early because of warnings, hence hiding actual errors. We could e.g. add more than one build statement, to build more relaxed flags (to see if it pass) and then debug enabled. Anyway, there is room to improve in this CI. Also, should we consider (in another PR, maybe) a workflow for pulling translations from translationproject.org ? It could run scheduled and, in the end, create a pull request to be manually merged when wanted. Other workflow could be to manually (workflow_dispatch or on a new git tag) push new version and strings to translationproject.org. Let me know what you think |
Artifacts are now being stored after rerunning tests from |
I've cherry-picked the doc build fix to master and rebased. I think we can merge this. I'll spend some time in the next days to see if I can fix the tests that are broken at HEAD (or temporarily deactivate them). |
Not squash might make the git history a noisy, but I'll leave it to you to decide. |
Thanks a lot! |
Here's an work-in-progress CI setup for testing buzztrax. There is a lot of space for improvements, like the fact that it is currently failing.
It is triggered when pushing to master branch, opening a pull request to master, and started manually in Actions page.
I based this workflow file in .travis.yml and went adding dependencies the were needed to pass configure step.
Closes #126