Skip to content

Commit baf2663

Browse files
committed
Improve GitHub workflow for continuous integration
1 parent fe48cbe commit baf2663

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,27 @@ jobs:
2323
cc: "cl", cxx: "cl",
2424
cmake_configure_options: '-G "Visual Studio 17 2022" -A x64',
2525
build_type: "Debug",
26-
cmake_build_options: "--config Debug",
2726
}
2827
- {
2928
name: "Windows MSVC (Release)",
3029
compiler: "msvc",
3130
cc: "cl", cxx: "cl",
3231
cmake_configure_options: '-G "Visual Studio 17 2022" -A x64',
3332
build_type: "Release",
34-
cmake_build_options: "--config Release",
3533
}
3634
- {
3735
name: "Windows Clang (Debug)",
3836
compiler: "clang",
3937
cc: "clang-cl", cxx: "clang-cl",
4038
cmake_configure_options: '-G "Visual Studio 17 2022" -A x64 -T "LLVM_v143" -DCMAKE_CXX_COMPILER="clang-cl.exe" -DCMAKE_C_COMPILER="clang-cl.exe" -DCMAKE_LINKER="lld.exe"',
4139
build_type: "Debug",
42-
cmake_build_options: "--config Debug",
4340
}
4441
- {
4542
name: "Windows Clang (Release)",
4643
compiler: "clang",
4744
cc: "clang-cl", cxx: "clang-cl",
4845
cmake_configure_options: '-G "Visual Studio 17 2022" -A x64 -T "LLVM_v143" -DCMAKE_CXX_COMPILER="clang-cl.exe" -DCMAKE_C_COMPILER="clang-cl.exe" -DCMAKE_LINKER="lld.exe"',
4946
build_type: "Release",
50-
cmake_build_options: "--config Release",
5147
}
5248

5349
steps:
@@ -85,4 +81,4 @@ jobs:
8581
- name: Build
8682
shell: pwsh
8783
run: |
88-
cmake --build build ${{ matrix.config.cmake_build_options }}
84+
cmake --build build --config ${{ matrix.config.build_type }}

0 commit comments

Comments
 (0)