Skip to content

Commit

Permalink
First attempt at building deb packages in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Oct 30, 2024
1 parent 7a6c0ca commit 8cb5eed
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DDISABLE_PCH=ON \
-GNinja \
-DCPACK_GENERATOR=DEB \
-DCMAKE_INSTALL_PREFIX=/usr \
..
- name: Build
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8cb5eed

Please sign in to comment.