diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 68d2ee0..3a61695 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -15,7 +15,7 @@ jobs: strategy: # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. - fail-fast: false + fail-fast: true # Set up a matrix to run the following 3 configurations: # 1. @@ -25,7 +25,8 @@ jobs: # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: os: [ubuntu-24.04, windows-latest, macos-13] - build_type: [Release, RelWithDebInfo, Debug] + # build_type: [Release, RelWithDebInfo, Debug] + build_type: [Release] # c_compiler: [gcc, clang, cl] # c_compiler: [clang, MSVC] # include: @@ -70,11 +71,6 @@ jobs: key: ${{ runner.os }}-cpm-${{ hashFiles('**/') }} restore-keys: | ${{ runner.os }}-cpm- - # path: | - # ${{ github.workspace }}/build/_deps - # key: cache-cpp-all - # restore-keys: | - # cache-cpp-all - name: Set reusable strings # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. @@ -126,16 +122,6 @@ jobs: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target LuaSTG if: ${{ runner.os == 'macOS' }} - # - 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 }} --target LuaSTG - - # - name: Test - # working-directory: ${{ steps.strings.outputs.build-output-dir }} - # # Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). - # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - # run: ctest --build-config ${{ matrix.build_type }} - - name: Archive artifacts uses: actions/upload-artifact@v4 with: