Skip to content

build(linux): add common build script#2946

Merged
ReenigneArcher merged 1 commit intomasterfrom
build(linux)-add-common-build-script
Aug 4, 2024
Merged

build(linux): add common build script#2946
ReenigneArcher merged 1 commit intomasterfrom
build(linux)-add-common-build-script

Conversation

@ReenigneArcher
Copy link
Member

@ReenigneArcher ReenigneArcher commented Aug 2, 2024

Description

This is an attempt to have a single build script for all the distros we provide packages for, excluding those with a build spec like PKGBUILD or flatpak.

Skipping documentation update, as that will be handled in #2932

TODO:

  • Get working in all docker builds
    • aarch64 debian
    • aarch64 ubuntu 22.04
    • aarch64 ubuntu 24.04
    • x86_64 debian
    • x86_64 ubuntu 22.04
    • x86_64 ubuntu 24.04
    • x86_64 fedora 39
    • x86_64 fedora 40
  • Get working in AppImage build
  • Get working in CodeQL build
  • Skip some steps if certain conditions exist, like cuda install on secondary runs
  • More echo/print statements
  • Allow passing arguments

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

@codecov
Copy link

codecov bot commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 9.66%. Comparing base (4fd6c66) to head (562f745).
Report is 137 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #2946      +/-   ##
=========================================
+ Coverage    9.57%   9.66%   +0.08%     
=========================================
  Files          97      97              
  Lines       17582   17556      -26     
  Branches     8336    8230     -106     
=========================================
+ Hits         1683    1696      +13     
+ Misses      13011   12997      -14     
+ Partials     2888    2863      -25     
Flag Coverage Δ
Linux 7.16% <ø> (+0.20%) ⬆️
Windows 5.08% <ø> (ø)
macOS-12 10.29% <ø> (ø)
macOS-13 10.21% <ø> (ø)
macOS-14 10.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 26 files with indirect coverage changes

@ReenigneArcher ReenigneArcher force-pushed the build(linux)-add-common-build-script branch 29 times, most recently from 8a25fb8 to 7417589 Compare August 3, 2024 01:39
@ReenigneArcher ReenigneArcher force-pushed the build(linux)-add-common-build-script branch 12 times, most recently from 6658ad1 to cf0b8e0 Compare August 3, 2024 20:14
@ReenigneArcher ReenigneArcher marked this pull request as ready for review August 3, 2024 20:14
@ReenigneArcher ReenigneArcher force-pushed the build(linux)-add-common-build-script branch from cf0b8e0 to 84be567 Compare August 3, 2024 21:26
@ReenigneArcher ReenigneArcher enabled auto-merge (squash) August 3, 2024 21:48
@ReenigneArcher ReenigneArcher force-pushed the build(linux)-add-common-build-script branch from 84be567 to 562f745 Compare August 3, 2024 22:41
@ReenigneArcher ReenigneArcher disabled auto-merge August 3, 2024 22:42
@ReenigneArcher ReenigneArcher merged commit 081fbe0 into master Aug 4, 2024
@ReenigneArcher ReenigneArcher deleted the build(linux)-add-common-build-script branch August 4, 2024 00:04
KuleRucket pushed a commit to KuleRucket/Sunshine that referenced this pull request Oct 9, 2024
c2vi pushed a commit to c2vi/Sunshine that referenced this pull request Mar 27, 2025
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.

1 participant