|
15 | 15 |
|
16 | 16 | strategy: |
17 | 17 | # 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. |
18 | | - fail-fast: false |
| 18 | + fail-fast: true |
19 | 19 |
|
20 | 20 | # Set up a matrix to run the following 3 configurations: |
21 | 21 | # 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator> |
|
25 | 25 | # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. |
26 | 26 | matrix: |
27 | 27 | os: [ubuntu-24.04, windows-latest, macos-13] |
28 | | - build_type: [Release, RelWithDebInfo, Debug] |
| 28 | + # build_type: [Release, RelWithDebInfo, Debug] |
| 29 | + build_type: [Release] |
29 | 30 | # c_compiler: [gcc, clang, cl] |
30 | 31 | # c_compiler: [clang, MSVC] |
31 | 32 | # include: |
|
70 | 71 | key: ${{ runner.os }}-cpm-${{ hashFiles('**/') }} |
71 | 72 | restore-keys: | |
72 | 73 | ${{ runner.os }}-cpm- |
73 | | - # path: | |
74 | | - # ${{ github.workspace }}/build/_deps |
75 | | - # key: cache-cpp-all |
76 | | - # restore-keys: | |
77 | | - # cache-cpp-all |
78 | 74 |
|
79 | 75 | - name: Set reusable strings |
80 | 76 | # 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: |
126 | 122 | cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target LuaSTG |
127 | 123 | if: ${{ runner.os == 'macOS' }} |
128 | 124 |
|
129 | | - # - name: Build |
130 | | - # # 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). |
131 | | - # run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target LuaSTG |
132 | | - |
133 | | - # - name: Test |
134 | | - # working-directory: ${{ steps.strings.outputs.build-output-dir }} |
135 | | - # # 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). |
136 | | - # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail |
137 | | - # run: ctest --build-config ${{ matrix.build_type }} |
138 | | - |
139 | 125 | - name: Archive artifacts |
140 | 126 | uses: actions/upload-artifact@v4 |
141 | 127 | with: |
|
0 commit comments