diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml index c29d1fa5..511057d4 100644 --- a/.github/workflows/build-ubuntu.yml +++ b/.github/workflows/build-ubuntu.yml @@ -149,6 +149,8 @@ jobs: -DCMAKE_BUILD_TYPE=Release \ -DDISABLE_PCH=ON \ -GNinja \ + -DCPACK_GENERATOR=DEB \ + -DCMAKE_INSTALL_PREFIX=/usr \ .. - name: Build @@ -157,6 +159,12 @@ jobs: cd build ninja + name: Build Package + if: ${{ ! matrix.docs }} + run: | + cd build + ninja package + - name: Build Docs if: ${{ matrix.docs }} run: | @@ -184,6 +192,13 @@ jobs: build/lib/scopeprotocols/libscopeprotocols.so build/Testing/Temporary/LastTest.log + - name: Upload Package + if: ${{ ! matrix.docs }} + uses: actions/upload-artifact@v4 + with: + name: ngscopeclient-${{ matrix.os }}-${{ github.job }}-${{ matrix.sdk_type }}-package + path: build/*.deb + - name: Upload Documentation if: ${{ matrix.docs }} uses: actions/upload-artifact@v4