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

Save build log #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Save build log #237

wants to merge 1 commit into from

Conversation

stappersg
Copy link
Member

At least an attempt to save build log.
Actual need was saving ./test-suite.log

@melroy89
Copy link
Contributor

melroy89 commented Dec 5, 2024

It was pseudo code ;P



Check failure on line 23 in .github/workflows/linux.yaml
GitHub Actions / .github/workflows/linux.yaml

Invalid workflow file

You have an error in your yaml syntax on line 23

if you only want to save test-suite.log and there is an error in the syntax anyways. Try this.. (see below)

if: always()
with:
name: log-file
path: *.log
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
path: *.log
path: test-suite.log

if: always()
with:
name: log-file
path: *.log
Copy link
Contributor

@melroy89 melroy89 Dec 5, 2024

Choose a reason for hiding this comment

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

Suggested change
path: *.log
path: test-suite.log

Copy link
Contributor

Choose a reason for hiding this comment

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

Etc. etc. for the rest as well

@RICCIARDI-Adrien
Copy link
Contributor

I also suggest to add different names for the artifacts, otherwise they will collide.

- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe use a unique name like alpine-${{ matrix.compiler }}-log-file.

- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe use a unique name like debian-${{ matrix.compiler }}-log-file.

Copy link
Contributor

Choose a reason for hiding this comment

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

And so on for all the distros !

@stappersg
Copy link
Member Author

stappersg commented Dec 5, 2024 via email

- uses: actions/upload-artifact@v4
if: always()
with:
name: ubuntu-${{ matrix.compiler }}-log-file
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I forgot that there were 2 Ubuntu versions !
I suggest ubuntu-${{ matrix.ubuntu_version }}-${{ matrix.compiler }}-log-file.

Copy link
Contributor

Choose a reason for hiding this comment

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

You can even drop the initial ubuntu, using only ${{ matrix.ubuntu_version }}-${{ matrix.compiler }}-log-file.

For the record,
with input from Melroy van den Berg and RICCIARDI-Adrien.
@stappersg
Copy link
Member Author

stappersg commented Dec 5, 2024 via email

Copy link
Contributor

@RICCIARDI-Adrien RICCIARDI-Adrien left a comment

Choose a reason for hiding this comment

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

Artifacts are present in the workflow view, this looks good to me !

@Neustradamus
Copy link
Member

@RICCIARDI-Adrien: What do you think?

@stappersg
Copy link
Member Author

@RICCIARDI-Adrien: What do you think?

I think that Neustradamus should try their/her/his privilege to approve merge requests for this project.

image

@melroy89
Copy link
Contributor

melroy89 commented Dec 6, 2024

Sorry that my approval doesn't count 😜

@Neustradamus
Copy link
Member

@stappersg: I know but I do not use my "power" ^^

@RICCIARDI-Adrien
Copy link
Contributor

@Neustradamus We all agree to merge this PR, what are we waiting for ?

@stappersg
Copy link
Member Author

stappersg commented Dec 7, 2024 via email

@stappersg
Copy link
Member Author

stappersg commented Dec 8, 2024 via email

@melroy89
Copy link
Contributor

melroy89 commented Dec 8, 2024

Please do what I did in #240, click on 'Merge pull request'.

That depends how you want to work together and what your WoW is. I normally like to merge my own PRs myself, to ensure a PR isn't merge too fast, causing possible regression for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants