Skip to content

Commit

Permalink
debian packaging test
Browse files Browse the repository at this point in the history
  • Loading branch information
josevcm committed Jan 27, 2025
1 parent d4ba8a2 commit 4f142fd
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/cmake-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
tags:
- '*' # any tag
# branches:
# - master
branches:
- develop

jobs:
build:
Expand Down Expand Up @@ -34,14 +34,18 @@ jobs:
sudo apt update
sudo apt install -y qt6-base-dev libusb-1.0-0-dev zlib1g-dev libgl1-mesa-dev libairspy-dev librtlsdr-dev
- name: 'Configure project'
run: |
cmake \
-S ${{ github.workspace }} \
-B ${{ steps.strings.outputs.build-dir }} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DBUILD_PROJECT_VERSION="${{ steps.strings.outputs.build-version }}"
# - name: 'Configure project'
# run: |
# cmake \
# -S ${{ github.workspace }} \
# -B ${{ steps.strings.outputs.build-dir }} \
# -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
# -DBUILD_PROJECT_VERSION="${{ steps.strings.outputs.build-version }}"

# - name: 'Build project'
# run: |
# cmake --build ${{ steps.strings.outputs.build-dir }} --target nfc-lab --parallel ${{ steps.strings.outputs.cpu-count }}

- name: 'Build project'
run: |
cmake --build ${{ steps.strings.outputs.build-dir }} --target nfc-lab --parallel ${{ steps.strings.outputs.cpu-count }}
dpkg-buildpackage -us -uc -j${{ steps.strings.outputs.cpu-count }}

0 comments on commit 4f142fd

Please sign in to comment.