From 52268273891d0df085f517a60c17ce83ea24477f Mon Sep 17 00:00:00 2001 From: dsm <41967334+dsm@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:23:48 +0300 Subject: [PATCH] switch ninja for ubuntu --- .github/workflows/deploy.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 70ecb2c5..be2b3587 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -137,11 +137,15 @@ jobs: install-deps: 'true' modules: 'qtcharts' + + - name: '⚙️ Install CMake' + uses: lukka/get-cmake@latest + - name: 'Configure CMake' run: | - cmake -B ${{github.workspace}}/build \ + cmake -B ${{github.workspace}}/build -G 'Ninja' \ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ - -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/AppDir/usr \ -DWITH_QT6=ON \ -DCI_VERSION="${{env.VERSION}}" @@ -149,7 +153,7 @@ jobs: # Build your program with the given configuration run: | cmake --build ${{github.workspace}}/build -j`nproc` --config ${{env.BUILD_TYPE}} - make -C ${{github.workspace}}/build install DESTDIR=${{github.workspace}}/AppDir + cmake --build ${{github.workspace}}/build --target install - name: 'Install linuxdeploy'