Skip to content

Commit 1c6f838

Browse files
committed
Revert to stable build_msvc_wine.sh
1 parent dba9576 commit 1c6f838

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,10 @@ repos:
3939
entry: python -c "import urllib.request; exec(urllib.request.urlopen('https://raw.githubusercontent.com/SamuelMarks/c-ci/master/precommit_matrix.py').read())" test clang
4040
language: python
4141
pass_filenames: false
42-
- id: build-msvc-2005-wine
43-
name: Build and Test (MSVC 2005 Wine)
44-
entry: python -c "import urllib.request; exec(urllib.request.urlopen('https://raw.githubusercontent.com/SamuelMarks/c-ci/master/precommit_matrix.py').read())" build msvc_2005_wine
45-
language: python
46-
pass_filenames: false
47-
- id: build-msvc-2026-wine
48-
name: Build and Test (MSVC 2026 Wine)
49-
entry: python -c "import urllib.request; exec(urllib.request.urlopen('https://raw.githubusercontent.com/SamuelMarks/c-ci/master/precommit_matrix.py').read())" build msvc_2026_wine
50-
language: python
42+
- id: build-msvc-wine
43+
name: Build & Test (MSVC Wine)
44+
entry: bash -c 'if command -v wine >/dev/null 2>&1 && [ -d "${MSVC_WINE_PATH:-$HOME/my_msvc/opt/msvc}" ]; then bash ~/repos/c-ci/build_msvc_wine.sh -DFETCHCONTENT_FULLY_DISCONNECTED=OFF -DFETCHCONTENT_UPDATES_DISCONNECTED=ON; RET=$?; wineserver -k || true; exit $RET; else echo "Skipping MSVC Wine"; fi'
45+
language: system
5146
pass_filenames: false
5247
- id: build-msvc
5348
name: Build (MSVC)

0 commit comments

Comments
 (0)