aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-08-25 13:50:04 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-08-25 13:50:04 +0100
commit6a4337298035683a8748ae446eae90e5c5f41d1b (patch)
treebf9e42d95933f3888b0849aa9d5a0324ebad4ba6 /.cirrus.yml
parentc9273f68f6a17b669890b0b2d38dbcc8b3c39d7b (diff)
downloadbitcoin-6a4337298035683a8748ae446eae90e5c5f41d1b.tar.xz
ci: Run "Win64 native" job on GitHub Actions
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml96
1 files changed, 0 insertions, 96 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 4f46da4c8e..263d9d73de 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -102,102 +102,6 @@ task:
FILE_ENV: "./ci/test/00_setup_env_native_tidy.sh"
task:
- name: "Win64 native [vs2022]"
- << : *FILTER_TEMPLATE
- windows_container:
- cpu: 6
- memory: 12G
- image: cirrusci/windowsservercore:visualstudio2022
- timeout_in: 120m
- env:
- PATH: 'C:\jom;C:\Python39;C:\Python39\Scripts;C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin;%PATH%'
- PYTHONUTF8: 1
- CI_VCPKG_TAG: '2023.01.09'
- VCPKG_DOWNLOADS: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
- VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
- CCACHE_DIR: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
- WRAPPED_CL: 'C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\ci\test\wrapped-cl.bat'
- QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.zip'
- QT_LOCAL_PATH: 'C:\qt-everywhere-opensource-src-5.15.5.zip'
- QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.5'
- QTBASEDIR: 'C:\Qt_static'
- x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
- QT_CONFIGURE_COMMAND: '..\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'
- IgnoreWarnIntDirInTempDetected: 'true'
- merge_script:
- - PowerShell -NoLogo -Command if ($env:CIRRUS_PR -ne $null) { git fetch $env:CIRRUS_REPO_CLONE_URL pull/$env:CIRRUS_PR/merge; git reset --hard FETCH_HEAD; }
- msvc_qt_built_cache:
- folder: "%QTBASEDIR%"
- reupload_on_changes: false
- fingerprint_script:
- - echo %QT_DOWNLOAD_URL% %QT_CONFIGURE_COMMAND%
- - msbuild -version
- populate_script:
- - curl -L -o C:\jom.zip http://download.qt.io/official_releases/jom/jom.zip
- - mkdir C:\jom
- - tar -xf C:\jom.zip -C C:\jom
- - curl -L -o %QT_LOCAL_PATH% %QT_DOWNLOAD_URL%
- - tar -xf %QT_LOCAL_PATH% -C C:\
- - '%x64_NATIVE_TOOLS%'
- - cd %QT_SOURCE_DIR%
- - mkdir build
- - cd build
- - '%QT_CONFIGURE_COMMAND% -prefix %QTBASEDIR%'
- - jom
- - jom install
- vcpkg_tools_cache:
- folder: '%VCPKG_DOWNLOADS%\tools'
- reupload_on_changes: false
- fingerprint_script:
- - echo %CI_VCPKG_TAG%
- - msbuild -version
- vcpkg_binary_cache:
- folder: '%VCPKG_DEFAULT_BINARY_CACHE%'
- reupload_on_changes: true
- fingerprint_script:
- - echo %CI_VCPKG_TAG%
- - type build_msvc\vcpkg.json
- - msbuild -version
- populate_script:
- - mkdir %VCPKG_DEFAULT_BINARY_CACHE%
- ccache_cache:
- folder: '%CCACHE_DIR%'
- install_tools_script:
- - choco install --yes --no-progress ccache --version=4.7.4
- - choco install --yes --no-progress python3 --version=3.9.6
- - pip install zmq
- - ccache --version
- - python -VV
- install_vcpkg_script:
- - cd ..
- - git clone --quiet https://github.com/microsoft/vcpkg.git
- - cd vcpkg
- - git -c advice.detachedHead=false checkout %CI_VCPKG_TAG%
- - .\bootstrap-vcpkg -disableMetrics
- - echo set(VCPKG_BUILD_TYPE release) >> triplets\x64-windows-static.cmake
- - .\vcpkg integrate install
- - .\vcpkg version
- build_script:
- - '%x64_NATIVE_TOOLS%'
- - cd %CIRRUS_WORKING_DIR%
- - ccache --zero-stats
- - python build_msvc\msvc-autogen.py
- - msbuild build_msvc\bitcoin.sln -property:CLToolExe=%WRAPPED_CL%;UseMultiToolTask=true;Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
- - ccache --show-stats
- check_script:
- - src\test_bitcoin.exe -l test_suite
- - src\bench_bitcoin.exe --sanity-check
- - python test\util\test_runner.py
- - python test\util\rpcauth-test.py
- functional_tests_script:
- # 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".
- # See: https://learn.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
- - netsh int ipv4 set dynamicport tcp start=1025 num=64511
- - netsh int ipv6 set dynamicport tcp start=1025 num=64511
- # Exclude feature_dbcrash for now due to timeout
- - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=99999999 --jobs=6 --timeout-factor=8 --extended --exclude feature_dbcrash
-
-task:
name: 'ARM, unit tests, no functional tests'
<< : *GLOBAL_TASK_TEMPLATE
persistent_worker: