Skip to content

Commit dba9749

Browse files
committed
clean up workflow
1 parent 9461e55 commit dba9749

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
# 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
1919

2020
# Set up a matrix to run the following 3 configurations:
2121
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
@@ -25,7 +25,8 @@ jobs:
2525
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
2626
matrix:
2727
os: [ubuntu-24.04, windows-latest, macos-13]
28-
build_type: [Release, RelWithDebInfo, Debug]
28+
# build_type: [Release, RelWithDebInfo, Debug]
29+
build_type: [Release]
2930
# c_compiler: [gcc, clang, cl]
3031
# c_compiler: [clang, MSVC]
3132
# include:
@@ -70,11 +71,6 @@ jobs:
7071
key: ${{ runner.os }}-cpm-${{ hashFiles('**/') }}
7172
restore-keys: |
7273
${{ runner.os }}-cpm-
73-
# path: |
74-
# ${{ github.workspace }}/build/_deps
75-
# key: cache-cpp-all
76-
# restore-keys: |
77-
# cache-cpp-all
7874
7975
- name: Set reusable strings
8076
# 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:
126122
cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target LuaSTG
127123
if: ${{ runner.os == 'macOS' }}
128124

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-
139125
- name: Archive artifacts
140126
uses: actions/upload-artifact@v4
141127
with:

0 commit comments

Comments
 (0)