diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5be3fc..9230b78 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -140,14 +140,17 @@ jobs: -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S ${{ github.workspace }} - ${{ matrix.os == 'windows-latest' && '-G "MinGW Makefiles"' }} - name: Build # 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 ${{ matrix.os == 'ubuntu-latest' && 'CMakeLists.txt' || 'CMakeLists.txt -G "MinGW Makefiles"' }} + cmake ${{ matrix.os == 'ubuntu-latest' && 'CMakeLists.txt' || 'CMakeLists.txt --build' }} + dir + cd ${{ steps.strings.outputs.build-output-dir }} + dir make + dir - name: Upload artifact uses: actions/upload-artifact@v3.1.3