From 97411130ade0a519186fc1166db3513eeb5bcc8e Mon Sep 17 00:00:00 2001 From: William C Bonner Date: Tue, 19 Sep 2023 12:35:11 -0700 Subject: [PATCH] Update ci.yml to cmake --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 861e701..834bf4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,18 +32,22 @@ jobs: sudo apt-get -qq update sudo apt-get -qq install \ libbluetooth-dev \ - make \ + cmake \ ${{ matrix.compiler == 'LLVM' && 'clang' || 'g++ gcc' }} + - name: Configure + run: cmake -S . -B build + - name: Build run: | - make + cmake --build build - - name: Make & Install `deb` file - run: | - make deb && sudo make install-deb + - name: Make `deb` file + working-directory: build + run: cpack . - name: Run `goveebttemplogger --help` + working-directory: build run: | goveebttemplogger --help