mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 02:09:49 +00:00
Add ubuntu 18.04 build and
- Prepare for rpm packaging
This commit is contained in:
parent
615f7e5875
commit
cbafe09396
9
.github/workflows/CI.yml
vendored
9
.github/workflows/CI.yml
vendored
@ -150,13 +150,16 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true # false to test all, true to fail entire job if any fail
|
||||
matrix:
|
||||
distro: [ debian, ubuntu_20_04, ubuntu_21_04, ubuntu_21_10 ] # removed ubuntu_18_04 for now
|
||||
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'
|
||||
- distro: fedora_35
|
||||
package: ''
|
||||
extension: 'rpm'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -175,10 +178,10 @@ jobs:
|
||||
cd scripts
|
||||
sudo ./build-sunshine.sh ${{ matrix.package }} -u -n sunshine-${{ matrix.distro }} -s ..
|
||||
- name: Package Linux
|
||||
if: ${{ matrix.package == '-p' }}
|
||||
if: ${{ matrix.package != '' }}
|
||||
run: |
|
||||
cd scripts
|
||||
sudo mv ./sunshine-${{ matrix.distro }}-build/sunshine-${{ matrix.distro }}.deb ../artifacts/
|
||||
sudo mv ./sunshine-${{ matrix.distro }}-build/sunshine-${{ matrix.distro }}.{matrix.extension} ../artifacts/
|
||||
- name: Upload Artifacts
|
||||
if: ${{ matrix.package == '-p' && ( github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' ) }}
|
||||
uses: actions/upload-artifact@v2
|
||||
|
Loading…
Reference in New Issue
Block a user