From 84cb4dfe83eca0170cb2e813d71f6772bc46c774 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 4 Feb 2023 20:20:39 -0500 Subject: update ci --- .github/workflows/ci.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 557526a..b886ef0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,10 +57,20 @@ jobs: update: true install: ${{ steps.setupmsys.outputs.value }} - - name: Build - run: | - cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} - cmake --build build + - name: Build (1) + uses: haya14busa/action-cond@v1 + id: build + with: + cond: ${{ matrix.mindeps == true }} + if_true: | + cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} -DUSE_LIBHANDY=OFF + cmake --build build + if_false: | + cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} + cmake --build build + + - name: Build (2) + run: ${{ steps.build.outputs.value }} - name: Setup Artifact run: | @@ -119,6 +129,7 @@ jobs: brew install gtkmm3 brew install nlohmann-json brew install jpeg + brew install libhandy - name: Build uses: lukka/run-cmake@v3 @@ -168,6 +179,7 @@ jobs: sudo make install sudo apt-get install libgtkmm-3.0-dev sudo apt-get install libcurl4-gnutls-dev + sudo apt-get install libhandy-1-dev - name: Build uses: lukka/run-cmake@v3 -- cgit v1.2.3