Debian packaging CI

This commit is contained in:
Shaun Reed 2023-03-11 18:44:04 -05:00
parent 6d51aef9cf
commit 6a52eee501
1 changed files with 27 additions and 0 deletions

View File

@ -70,6 +70,19 @@ jobs:
shell: bash shell: bash
run: cmake --build build/ --target package --config Release run: cmake --build build/ --target package --config Release
- name: Package Qtk Library (DEB)
if: matrix.os == 'ubuntu-latest'
shell: bash
run: cpack -C Release -G DEB
- name: Upload package artifacts (DEB)
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: qtk-${{ matrix.os }}-debian
path: |
build/packages/*.deb
- name: Upload Qtk install directory - name: Upload Qtk install directory
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
@ -155,6 +168,19 @@ jobs:
shell: bash shell: bash
run: cmake --build build/ --target package --config Release run: cmake --build build/ --target package --config Release
- name: Package Qtk Library (DEB)
if: matrix.os == 'ubuntu-latest'
shell: bash
run: cpack -C Release -G DEB
- name: Upload package artifacts (DEB)
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: libqtk-${{ matrix.os }}-debian
path: |
build/packages/*.deb
- name: Upload libqtk install - name: Upload libqtk install
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: always() if: always()
@ -169,6 +195,7 @@ jobs:
name: libqtk-packages-${{ matrix.os }} name: libqtk-packages-${{ matrix.os }}
path: | path: |
build/packages/ build/packages/
!build/packages/*.deb
!build/packages/_CPack_Packages/* !build/packages/_CPack_Packages/*
Build-Qtk-Plugins: Build-Qtk-Plugins: