From 5a23df110c20a005d0ae82103e73a3c20200b846 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sat, 11 Mar 2023 18:44:04 -0500 Subject: [PATCH] Debian packaging CI --- .github/workflows/all-builds.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/all-builds.yml b/.github/workflows/all-builds.yml index 713265b..3ef0be3 100644 --- a/.github/workflows/all-builds.yml +++ b/.github/workflows/all-builds.yml @@ -70,6 +70,20 @@ jobs: shell: bash 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 + !build/packages/_CPack_Packages/* + - name: Upload Qtk install directory uses: actions/upload-artifact@v3 with: @@ -155,6 +169,20 @@ jobs: shell: bash 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 + !build/packages/_CPack_Packages/* + - name: Upload libqtk install uses: actions/upload-artifact@v3 if: always() @@ -169,6 +197,7 @@ jobs: name: libqtk-packages-${{ matrix.os }} path: | build/packages/ + !build/packages/*.deb !build/packages/_CPack_Packages/* Build-Qtk-Plugins: