From 558e54a280a3d47224e831e77bf66d7686d5a207 Mon Sep 17 00:00:00 2001 From: Dimitrij Mijoski Date: Thu, 28 Jul 2022 21:17:24 +0200 Subject: [PATCH] Remove AppVeyor files --- support/appveyor-build.py | 34 ---------------------------------- support/appveyor.yml | 31 ------------------------------- 2 files changed, 65 deletions(-) delete mode 100644 support/appveyor-build.py delete mode 100644 support/appveyor.yml diff --git a/support/appveyor-build.py b/support/appveyor-build.py deleted file mode 100644 index 46f8908403ce6..0000000000000 --- a/support/appveyor-build.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# Build the project on AppVeyor. - -import os -from subprocess import check_call - -build = os.environ['BUILD'] -config = os.environ['CONFIGURATION'] -platform = os.environ['PLATFORM'] -path = os.environ['PATH'] -image = os.environ['APPVEYOR_BUILD_WORKER_IMAGE'] -jobid = os.environ['APPVEYOR_JOB_ID'] -cmake_command = ['cmake', '-DFMT_PEDANTIC=ON', '-DCMAKE_BUILD_TYPE=' + config, '..'] -# Add MSBuild 14.0 to PATH as described in -# http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc. -os.environ['PATH'] = r'C:\Program Files (x86)\MSBuild\15.0\Bin;' + path -if image == 'Visual Studio 2019': - generator = 'Visual Studio 16 2019' - if platform == 'x64': - cmake_command.extend(['-A', 'x64']) -else: - if image == 'Visual Studio 2015': - generator = 'Visual Studio 14 2015' - elif image == 'Visual Studio 2017': - generator = 'Visual Studio 15 2017' - if platform == 'x64': - generator += ' Win64' -cmake_command.append('-G' + generator) -build_command = ['cmake', '--build', '.', '--config', config, '--', '/m:4'] -test_command = ['ctest', '-C', config] - -check_call(cmake_command) -check_call(build_command) -check_call(test_command) diff --git a/support/appveyor.yml b/support/appveyor.yml deleted file mode 100644 index 64ca58a949c24..0000000000000 --- a/support/appveyor.yml +++ /dev/null @@ -1,31 +0,0 @@ -configuration: - - Debug - - Release - -clone_depth: 1 - -image: - - Visual Studio 2015 - -platform: - - x64 - -environment: - CTEST_OUTPUT_ON_FAILURE: 1 - MSVC_DEFAULT_OPTIONS: ON - BUILD: msvc - -before_build: - - mkdir build - - cd build - -build_script: - - python ../support/appveyor-build.py - -on_failure: - - appveyor PushArtifact Testing/Temporary/LastTest.log - - appveyor AddTest test - -# Uncomment this to debug AppVeyor failures. -#on_finish: -# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))