Skip to content

Commit 29d8e3f

Browse files
committed
Disable msvc tests due to use of designated initializers
1 parent ab60ef9 commit 29d8e3f

File tree

1 file changed

+0
-92
lines changed

1 file changed

+0
-92
lines changed

.cirrus.yml

Lines changed: 0 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -71,98 +71,6 @@ task:
7171
env:
7272
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
7373

74-
task:
75-
name: "Win64 native [msvc]"
76-
<< : *FILTER_TEMPLATE
77-
windows_container:
78-
cpu: 4
79-
memory: 8G
80-
image: cirrusci/windowsservercore:visualstudio2019
81-
timeout_in: 120m
82-
env:
83-
PATH: 'C:\jom;C:\Python39;C:\Python39\Scripts;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin;%PATH%'
84-
PYTHONUTF8: 1
85-
CI_VCPKG_TAG: '2021.05.12'
86-
VCPKG_DOWNLOADS: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
87-
VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
88-
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip'
89-
QT_LOCAL_PATH: 'C:\qt-everywhere-src-5.15.2.zip'
90-
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.2'
91-
QTBASEDIR: 'C:\Qt_static'
92-
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
93-
IgnoreWarnIntDirInTempDetected: 'true'
94-
merge_script:
95-
- git config --global user.email "ci@ci.ci"
96-
- git config --global user.name "ci"
97-
# Windows filesystem loses the executable bit, and all of the executable
98-
# files are considered "modified" now. It will break the following `git merge`
99-
# command. The next two commands make git ignore this issue.
100-
- git config core.filemode false
101-
- git reset --hard
102-
- PowerShell -NoLogo -Command if ($env:CIRRUS_PR -ne $null) { git fetch $env:CIRRUS_REPO_CLONE_URL $env:CIRRUS_BASE_BRANCH; git merge FETCH_HEAD; }
103-
msvc_qt_built_cache:
104-
folder: "%QTBASEDIR%"
105-
reupload_on_changes: false
106-
fingerprint_script:
107-
- echo %QT_DOWNLOAD_URL%
108-
- msbuild -version
109-
populate_script:
110-
- curl -L -o C:\jom.zip http://download.qt.io/official_releases/jom/jom.zip
111-
- mkdir C:\jom
112-
- tar -xf C:\jom.zip -C C:\jom
113-
- curl -L -o %QT_LOCAL_PATH% %QT_DOWNLOAD_URL%
114-
- tar -xf %QT_LOCAL_PATH% -C C:\
115-
- '%x64_NATIVE_TOOLS%'
116-
- cd %QT_SOURCE_DIR%
117-
- mkdir build
118-
- cd build
119-
- ..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml -prefix %QTBASEDIR%
120-
- jom
121-
- jom install
122-
vcpkg_tools_cache:
123-
folder: '%VCPKG_DOWNLOADS%\tools'
124-
reupload_on_changes: false
125-
fingerprint_script:
126-
- echo %CI_VCPKG_TAG%
127-
- msbuild -version
128-
vcpkg_binary_cache:
129-
folder: '%VCPKG_DEFAULT_BINARY_CACHE%'
130-
reupload_on_changes: true
131-
fingerprint_script:
132-
- echo %CI_VCPKG_TAG%
133-
- msbuild -version
134-
populate_script:
135-
- mkdir %VCPKG_DEFAULT_BINARY_CACHE%
136-
install_python_script:
137-
- choco install --yes --no-progress python3 --version=3.9.6
138-
- pip install zmq
139-
- python -VV
140-
install_vcpkg_script:
141-
- cd ..
142-
- git clone --quiet https://github.com/microsoft/vcpkg.git
143-
- cd vcpkg
144-
- git -c advice.detachedHead=false checkout %CI_VCPKG_TAG%
145-
- .\bootstrap-vcpkg -disableMetrics
146-
- echo set(VCPKG_BUILD_TYPE release) >> triplets\x64-windows-static.cmake
147-
- .\vcpkg integrate install
148-
- .\vcpkg version
149-
build_script:
150-
- cd %CIRRUS_WORKING_DIR%
151-
- python build_msvc\msvc-autogen.py
152-
- msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
153-
unit_tests_script:
154-
- src\test_bitcoin.exe -l test_suite
155-
- src\bench_bitcoin.exe > NUL
156-
- python test\util\test_runner.py
157-
- python test\util\rpcauth-test.py
158-
functional_tests_script:
159-
# Increase the dynamic port range to the maximum allowed value to mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted".
160-
# See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
161-
- netsh int ipv4 set dynamicport tcp start=1025 num=64511
162-
- netsh int ipv6 set dynamicport tcp start=1025 num=64511
163-
# Exclude feature_dbcrash for now due to timeout
164-
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash
165-
16674
task:
16775
name: 'ARM [unit tests, no functional tests] [bullseye]'
16876
<< : *GLOBAL_TASK_TEMPLATE

0 commit comments

Comments
 (0)