Skip to content

Conversation

@hoffie
Copy link
Member

@hoffie hoffie commented Mar 13, 2022

  • Move all autobuild/linux/* scripts to a single .github/autobuild/linux_deb.sh script which is called for the different stages
    (setup/build/get-artifacts).

  • Condense redundant parameter parsing into a single step

  • Create functions with proper names for larger steps

  • Inline Github artifact output definition as it's shorter that way

  • Make shellcheck-clean

Short description of changes

CHANGELOG: Autobuild: Refactored and simplified Linux build scripts.
(will be condensed...)

Context: Fixes an issue?

Related: #2503

Does this change need documentation? What needs to be documented and how?

Status of this Pull Request

Ready.

What is missing until this pull request can be merged?

Reviews.

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@hoffie hoffie added this to the Release 3.9.0 milestone Mar 13, 2022
@hoffie hoffie requested a review from ann0see March 13, 2022 23:05
Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

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

Seems to be broken? Probably the deb fine didn’t get moved correctly.

@hoffie hoffie marked this pull request as draft March 14, 2022 07:17
@hoffie hoffie force-pushed the autobuild-merge-linux-scripts branch from 3e7d094 to d096475 Compare March 14, 2022 07:34
@hoffie

This comment was marked as outdated.

@ann0see

This comment was marked as outdated.

@hoffie hoffie force-pushed the autobuild-merge-linux-scripts branch from d096475 to 1f0ae72 Compare March 14, 2022 07:47
@hoffie hoffie marked this pull request as ready for review March 14, 2022 07:56
@hoffie

This comment was marked as outdated.

Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

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

This script looks quite good - in comparison what we need to do for other systems.

See my comment below.

Related: jamulussoftware#2503

- Move all autobuild/linux/* scripts to a single
  .github/autobuild/linux_deb.sh script which is called for the different stages
  (setup/build/get-artifacts).

- Condense redundant parameter parsing into a single step

- Create functions with proper names for larger steps

- Inline Github artifact output definition as it's shorter that way

- Make shellcheck-clean
@hoffie hoffie force-pushed the autobuild-merge-linux-scripts branch from 1f0ae72 to 4f16ba5 Compare March 14, 2022 21:32
@ann0see ann0see merged commit 707fe3b into jamulussoftware:master Mar 14, 2022
@hoffie hoffie deleted the autobuild-merge-linux-scripts branch March 19, 2022 20:21
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.

3 participants