Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
J0w03L authored Oct 8, 2023
1 parent 12db371 commit fdc1098
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdc1098

Please sign in to comment.