From 141b7d7ff023078d52a87ab38610b7c52b6f03fa Mon Sep 17 00:00:00 2001 From: boykopovar Date: Tue, 29 Sep 2026 00:38:21 +0300 Subject: [PATCH] fix(ci): use git bash for windows release --- .github/workflows/release.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa0ec6803..522ada2fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,11 +65,26 @@ jobs: if: matrix.platform == 'windows' shell: cmd run: cmake -S . -B build %CONFIGURE% - - name: Build project and tests + - name: Build project and tests (Linux) + if: matrix.platform == 'linux' run: cmake --build build - - name: Run tests + - name: Build project and tests (Windows) + if: matrix.platform == 'windows' + shell: cmd + run: cmake --build build + - name: Run tests (Linux) + if: matrix.platform == 'linux' run: ctest --test-dir build --output-on-failure --timeout 120 --stop-on-failure --no-tests=error - - name: Build patched libraries + - name: Run tests (Windows) + if: matrix.platform == 'windows' + shell: cmd + run: ctest --test-dir build --output-on-failure --timeout 120 --stop-on-failure --no-tests=error + - name: Build patched libraries (Linux) + if: matrix.platform == 'linux' + run: cmake --build build --target libs + - name: Build patched libraries (Windows) + if: matrix.platform == 'windows' + shell: cmd run: cmake --build build --target libs - name: Package release files run: python tools/package_release.py --platform "${{ matrix.platform }}" --build build --output dist --version "$RELEASE_TAG"