Add initial support for RPM packaging (#121)

- Add gen-rpm
- Package rpm in CI testing and releases
- Remove fedora 33 from testing (end of life)
- Update arguments for `build_private.sh` and `build_sunshine.sh`

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
h 2022-04-12 20:29:08 -07:00 committed by GitHub
commit a6921fffad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 271 additions and 20 deletions

View file

@ -153,12 +153,9 @@ jobs:
distro: [ debian, ubuntu_18_04, ubuntu_20_04, ubuntu_21_04, ubuntu_21_10 ]
package: [ -p ]
extension: [ deb ]
include: # don't package these
- distro: fedora_33
package: ''
extension: rpm
include: # package these differently
- distro: fedora_35
package: ''
package: '-p'
extension: rpm
steps:
@ -176,7 +173,7 @@ jobs:
- name: Build Linux
run: |
cd scripts
sudo ./build-sunshine.sh ${{ matrix.package }} -u -n sunshine-${{ matrix.distro }} -s ..
sudo ./build-sunshine.sh ${{ matrix.package }} -e ${{ matrix.extension }} -u -n sunshine-${{ matrix.distro }} -s ..
- name: Package Linux
if: ${{ matrix.package != '' }}
run: |