From 21d640cea39ae29a97a66f6c2039ac314b876e07 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 31 Aug 2022 17:55:03 -0400 Subject: try to fix mindeps run --- .github/workflows/ci.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ca1008..df4dab3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,10 +59,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: buildcmd + with: + cond: ${{ matrix.mindeps == true }} + if_true: | + cmake -GNinja -Bbuild -DUSE_LIBHANDY=OFF -DENABLE_VOICE=OFF -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} + cmake --build build + if_false: | + cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} + cmake --build build + + - name: Build (2) + run: ${{ steps.buildcmd.outputs.value }} - name: Setup Artifact run: | -- cgit v1.2.3