diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-23 15:04:02 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-23 15:04:02 +0300 |
commit | 0b01b811592d67c335ce0b6be8f697deddb63ebb (patch) | |
tree | 7f0a3265746bdc91c035bd67bdc98855dcf48289 | |
parent | AppVeyor: only Debug on Win32 (diff) | |
download | winapi-debug-no_more_travis.tar.gz winapi-debug-no_more_travis.zip |
bye-bye, Travis & AppVeyor!no_more_travis
-rw-r--r-- | .appveyor.yml | 79 | ||||
-rw-r--r-- | .travis.yml | 51 |
2 files changed, 0 insertions, 130 deletions
diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 59400b6..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,79 +0,0 @@ -version: '{build}' - -image: - - Visual Studio 2015 - - Visual Studio 2017 - - Visual Studio 2019 - -environment: - python_exe: C:\Python36-x64\python.exe - install_dir: C:\Projects\install\pdb-repo - -platform: - - Win32 - - x64 - -configuration: - - Debug - - RelWithDebInfo - -matrix: - fast_finish: true - - # On Win32, only build Debug to speed things up: - exclude: - - platform: Win32 - configuration: RelWithDebInfo - -install: - - git submodule update --init --recursive - -build_script: - - '"%python_exe%" cmake\tools\clang-format.py' - - cd cmake - - >- - "%python_exe%" -m project.ci.appveyor.cmake - --install "%install_dir%" - --boost "%appveyor_boost_root%" - -after_build: - - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%" - - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" - -test_script: - - '"%install_dir%\bin\test\unit_tests.exe" --log_level=all' - - - '"%install_dir%\bin\enum_symbols.exe" --pdb "%install_dir%\bin\test\test_lib.pdb" --mask "test_ns::*"' - - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test_ns::baz" -SimpleMatch -Quiet) -or $(throw "test_ns::baz not enumerated among the symbols")' - - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test_ns::bar" -SimpleMatch -Quiet) -or $(throw "test_ns::bar not enumerated among the symbols")' - - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test_ns::foo" -SimpleMatch -Quiet) -or $(throw "test_ns::foo not enumerated among the symbols")' - - ps: '$(& "$env:install_dir\bin\enum_symbols.exe" --pdb "$env:install_dir\bin\test\test_lib.pdb" | Select-String -Pattern "test_ns::var" -SimpleMatch -Quiet) -or $(throw "test_ns::var not enumerated among the symbols")' - - - '"%install_dir%\bin\test\call_stack.exe"' - - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[test_lib!test_ns::baz" -SimpleMatch -Quiet) -or $(throw "test_ns::baz not found in the call stack")' - - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[test_lib!test_ns::bar" -SimpleMatch -Quiet) -or $(throw "test_ns::bar not found in the call stack")' - - ps: '$(& "$env:install_dir\bin\test\call_stack.exe" | Select-String -Pattern "[test_lib!test_ns::foo" -SimpleMatch -Quiet) -or $(throw "test_ns::foo not found in the call stack")' - -for: -# Build Release on master only to speed things up: -- branches: - except: - - master - configuration: - - Debug - -- matrix: - only: - - image: Visual Studio 2015 - environment: - appveyor_boost_root: C:\Libraries\boost_1_62_0 -- matrix: - only: - - image: Visual Studio 2017 - environment: - appveyor_boost_root: C:\Libraries\boost_1_69_0 -- matrix: - only: - - image: Visual Studio 2019 - environment: - appveyor_boost_root: C:\Libraries\boost_1_71_0 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 933a521..0000000 --- a/.travis.yml +++ /dev/null @@ -1,51 +0,0 @@ -# Linux builds are only to make sure the project can be built w/ MinGW-w64 & -# GCC. - -language: cpp -os: linux -# MinGW-w64 7.0 or higher is required, hence the latest distribution. -dist: focal - -env: - global: - boost_version: 1.65.0 - jobs: - # Building only Debug is fine, it's not going anywhere anyway: - - configuration=Debug platform=x86 - - configuration=Debug platform=x64 - #- configuration=Release platform=x86 - #- configuration=Release platform=x64 - -before_script: - - cd cmake - - >- - python3 -m project.ci.travis.boost - --mingw - -- - --with-filesystem - --with-program_options - --with-test - -script: >- - python3 -m project.ci.travis.cmake - --install "$HOME/install" - --mingw - -jobs: - fast_finish: true - - _clear: &clear - language: minimal - addons: {apt: {packages: []}} - before_script: [] - script: [] - - include: - - <<: *clear - name: Run clang-format - if: branch = master - addons: - apt: - packages: - - clang-format-9 - script: ./cmake/tools/clang-format.py --clang-format clang-format-9 |