]> granicus.if.org Git - graphviz/commitdiff
Remove disabled Autotools build from appveyor.yml
authorErwin Janssen <erwinjanssen@outlook.com>
Mon, 27 Mar 2017 08:40:45 +0000 (10:40 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Mon, 27 Mar 2017 08:40:45 +0000 (10:40 +0200)
There was an attempt to include the Autotools build on Appveyor, but
with the current Visual Studio build and the future CMake build, this is
no longer relevant.

appveyor.yml

index b5e2075ad5e8b9312d8b7ce430570e2f0c47bd1a..c2b52e4f43224e3f93a48e0b6d49e297e00b4658 100644 (file)
@@ -3,13 +3,9 @@ version: 2.41.{build}
 image: Visual Studio 2015
 
 environment:
-  # Required so bash starts in the same folder as from where it was called.
-  CHERE_INVOKING: 1
   matrix:
     - build_system: msbuild
     - build_system: cmake
-    #- build_system: msys2
-    #- build_system: cygwin
 
 configuration:
   - Debug
@@ -18,8 +14,6 @@ configuration:
 install:
   # Retrieve submodules, dependencies are stored there.
   - git submodule update --init
-  # Only has to be installed when MSYS2 or Cygwin are enabled.
-  #- cinst ghostscript
 
 before_build:
 # This file is deleted to reduce noise in the build output. Otherwise several
@@ -27,12 +21,6 @@ before_build:
 - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
 
 build_script:
-  # Ghostscript only has to be configured when MSYS2 or Cygwin are enabled.
-  ## Add Ghostscript folder to the path so ps2pdf can be called to create docs.
-  ## When executing ps2pdf, 'gs' gets called. On Windows the program is required program is called gswin64c.exe,
-  ## so we create a symlink called 'gs' that points to gswin64c.
-  ##- SET PATH="%PATH%;C:\Program Files\gs\gs9.19\lib;C:\Program Files\gs\gs9.19\bin;"
-  ##- mklink "C:\Program Files\gs\gs9.19\bin\gs" "C:\Program Files\gs\gs9.19\bin\gswin64c.exe"
   - ps: >-
       cd $env:APPVEYOR_BUILD_FOLDER
 
@@ -64,31 +52,6 @@ build_script:
         }
       }
 
-      if ($env:build_system -eq "msys2" -Or $env:compiler -eq "cygwin") {
-        $BashPath = ""
-
-        if ($env:build_system -eq "msys2") {
-          $BashPath = "C:\msys64\usr\bin\bash"
-          & $BashPath -lc "pacman -S --noconfirm autoconf-archive mingw-w64-x86_64-cairo mingw-w64-x86_64-freetype mingw-w64-x86_64-fontconfig mingw-w64-x86_64-libpng mingw-w64-x86_64-pango"
-        }
-
-        if ($env:build_system -eq "cygwin") {
-          C:\cygwin64\setup-x86_64.exe -qnNdO -R C:/cygwin64 -s http://cygwin.mirror.constant.com -l C:/cygwin64/var/cache/setup -P autoconf-archive -P flex -P swig -P mingw64-x86_64-cairo -P expat -P mingw64-x86_64-freetype -P mingw64-x86_64-fontconfig -P mingw64-x86_64-glib2.0 -P mingw64-x86_64-libpng -P mingw64-x86_64-pango -P zlib -P mingw64-x86_64-libpng
-          $BashPath = "C:\cygwin64\bin\bash"
-          # For some reason Cygwin ignores CHERE_INVOKING=1 for the first bash command.
-          # Executing some arbitrary command solves this. So without this next line, the build will fail.
-          & $BashPath -lc "ls"
-        }
-
-        Write-Output "Execute ./autogen.sh, which also executes ./configure"
-
-        & $BashPath -lc "./autogen.sh"
-
-        Write-Output "Execute make"
-
-        & $BashPath -lc "make"
-      }
-
 artifacts:
   - path: Release
     name: graphviz-windows