Skip to content

Commit 7ae58c9

Browse files
committed
Restore debug and release jobs in Windows 2025 workflow
1 parent 5089c17 commit 7ae58c9

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

Diff for: .github/workflows/test_windows25.yml

+4-15
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
fail-fast: false
2727

2828
matrix:
29+
build_type: [Debug, Release]
2930
bit7z_auto_format: [OFF, ON]
3031
bit7z_regex_matching: [OFF, ON]
3132
bit7z_use_native_string: [OFF, ON]
@@ -35,29 +36,17 @@ jobs:
3536
bit7z_7zip_version: [23.01, 24.09]
3637

3738
name: |
38-
Windows, 7-Zip ${{ matrix.bit7z_7zip_version }}${{ (matrix.bit7z_auto_format == 'ON') && ', AUTO_FORMAT' || '' }}${{ (matrix.bit7z_regex_matching == 'ON') && ', REGEX_MATCHING' || '' }}${{ matrix.bit7z_use_native_string == 'ON' && ', USE_NATIVE_STRING' || '' }}${{ matrix.bit7z_auto_prefix_long_paths == 'ON' && ', AUTO_PREFIX_LONG_PATHS' || '' }}${{ matrix.bit7z_use_system_codepage == 'ON' && ', USE_SYSTEM_CODEPAGE' || '' }}${{ matrix.bit7z_path_sanitization == 'ON' && ', PATH_SANITIZATION' || '' }}
39+
Windows, ${{ matrix.build_type }}, 7-Zip ${{ matrix.bit7z_7zip_version }}${{ (matrix.bit7z_auto_format == 'ON') && ', AUTO_FORMAT' || '' }}${{ (matrix.bit7z_regex_matching == 'ON') && ', REGEX_MATCHING' || '' }}${{ matrix.bit7z_use_native_string == 'ON' && ', USE_NATIVE_STRING' || '' }}${{ matrix.bit7z_auto_prefix_long_paths == 'ON' && ', AUTO_PREFIX_LONG_PATHS' || '' }}${{ matrix.bit7z_use_system_codepage == 'ON' && ', USE_SYSTEM_CODEPAGE' || '' }}${{ matrix.bit7z_path_sanitization == 'ON' && ', PATH_SANITIZATION' || '' }}
3940
4041
steps:
4142
- uses: actions/checkout@v4
4243

43-
- name: Building and testing bit7z (Debug)
44+
- name: Building and testing bit7z
4445
uses: ./.github/actions/test_action
4546
with:
4647
c_compiler: gcc
4748
cpp_compiler: g++
48-
build_type: Debug
49-
sevenzip_version: ${{ matrix.bit7z_7zip_version }}
50-
shell: bash
51-
path: C:\msys64\usr\bin
52-
build_flags: |-
53-
-DBIT7Z_TESTS_USE_SYSTEM_7ZIP=ON -DBIT7Z_AUTO_FORMAT=${{ matrix.bit7z_auto_format }} -DBIT7Z_REGEX_MATCHING=${{ matrix.bit7z_regex_matching }} -DBIT7Z_USE_NATIVE_STRING=${{ matrix.bit7z_use_native_string }} -DBIT7Z_AUTO_PREFIX_LONG_PATHS=${{ matrix.bit7z_auto_prefix_long_paths }} -DBIT7Z_USE_SYSTEM_CODEPAGE=${{ matrix.bit7z_use_system_codepage }} -DBIT7Z_PATH_SANITIZATION=${{ matrix.bit7z_path_sanitization }} -DBIT7Z_VS_LIBNAME_OUTDIR_STYLE=ON -G "MinGW Makefiles"
54-
55-
- name: Building and testing bit7z (Release)
56-
uses: ./.github/actions/test_action
57-
with:
58-
c_compiler: gcc
59-
cpp_compiler: g++
60-
build_type: Release
49+
build_type: ${{ matrix.build_type }}
6150
sevenzip_version: ${{ matrix.bit7z_7zip_version }}
6251
shell: bash
6352
path: C:\msys64\usr\bin

0 commit comments

Comments
 (0)