From 0fe2c4d9932a088510798b62e82afc3b7bc82d16 Mon Sep 17 00:00:00 2001 From: J0w03L <75956156+J0w03L@users.noreply.github.com> Date: Thu, 5 Oct 2023 12:09:03 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6fb67fc..eb85da6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -145,12 +145,10 @@ jobs: # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). #run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} run: | - cmake - cmake CMakeLists.txt - cmake CMakeLists.txt --build + cmake ${{ matrix.os == 'ubuntu-latest' && 'CMakeLists.txt' || 'CMakeLists.txt -G "MinGW Makefiles"' }} dir dir build - make all + make - name: Upload artifact uses: actions/upload-artifact@v3.1.3