From 979c50f188675406fcbf87476253e889298dcb56 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 4 Oct 2020 12:19:26 -0700 Subject: [PATCH] remove deprecated AppVeyor config Windows CI now runs on Gitlab. --- appveyor.yml | 88 ---------------------------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index f1d62e58f..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,88 +0,0 @@ -version: 2.45.{build} -#version: 2.44.0 -clone_depth: 25 - -image: Visual Studio 2015 - -environment: - CTEST_OUTPUT_ON_FAILURE: TRUE - graphviz_install_dir: C:\Graphviz - matrix: - - build_system: cmake - generator: "Visual Studio 14 2015" - - build_system: cmake - generator: "Visual Studio 14 2015 Win64" - - build_system: msbuild - -configuration: - - Debug - - Release - -install: - # Retrieve submodules, dependencies are stored there. - - git submodule update --init - -before_build: -# This file is deleted to reduce noise in the build output. Otherwise several -# "target does not exist and will be ignored" messages are printed. -- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets" - -build_script: - - cd %APPVEYOR_BUILD_FOLDER% - - set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%\windows\dependencies\graphviz-build-utilities - - # Build - - ps: >- - if($env:build_system -eq "cmake") { - mkdir build; - cd build; - cmake -G "$env:generator" ..; - cmake --build . --config $env:configuration; - } - elseif($env:build_system -eq "msbuild") { - msbuild /p:Configuration=$env:configuration - } - - # Package - - ps: >- - if($env:configuration -eq "Release") { - if($env:build_system -eq "cmake") { - cpack - } - elseif($env:build_system -eq "msbuild") { - rm Release\Graphviz\bin\*.lastcodeanalysissucceeded; - rm Release\Graphviz\bin\*.iobj; - rm Release\Graphviz\bin\*.ipdb; - rm Release\Graphviz\bin\*.ilk; - } - } - - # Test - - ps: >- - if($env:build_system -eq "cmake" -and $env:configuration -eq "Release") { - mv Graphviz-*.exe Graphviz-install.exe; - # Install using installer and add bin directory to path. - # Piping the output of the installer to Out-Null, makes the script wait - # for the .exe to exit, instead continuing to the next command (which - # will then fail because the install hasn't finished) - ./Graphviz-install.exe /S /D=$env:graphviz_install_dir | Out-Null; - $env:Path += ";" + $env:graphviz_install_dir + "\bin" - dot -c; - ctest -C $env:configuration; - } - elseif($env:build_system -eq "msbuild") { - # Append build destination to the PATH, configure dot and execute regression tests - # The following is per https://gitlab.com/graphviz/graphviz/-/merge_requests/1345 - $env:Path = $env:APPVEYOR_BUILD_FOLDER + "\" + $env:configuration + "\Graphviz\bin" + ";" + $env:Path; - dot -c; - cd tests\regression_tests; - ./regression_tests.ps1; - } - -artifacts: - - path: Release - name: graphviz-windows - - path: Debug - name: graphviz-windows-debug - - path: build/Graphviz-install.exe - name: Graphviz-Windows-install -- 2.40.0