]> granicus.if.org Git - graphviz/commitdiff
CI: disable Cygwin jobs
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 21 Dec 2022 04:35:00 +0000 (20:35 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 21 Dec 2022 04:35:00 +0000 (20:35 -0800)
These are currently erroring:

  $ wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
  wget : <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  <html><head>
  <title>403 Forbidden</title>
  </head><body>
  <h1>Forbidden</h1>
  <p>You don't have permission to access this resource.</p>
  </body></html>
  At line:1 char:1
  + wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Gitlab: #2329

.gitlab-ci.yml

index e1f206dc176a7c7c9e9a01279e0b1c3d27b462b7..8f506d0ac7002dcae12a9154ad68eb2e26c0afe2 100644 (file)
@@ -624,67 +624,67 @@ windows-mingw32-static-build-step2-make:
     except:
         - tags
 
-windows-cygwin-build:
-    stage: build
-    needs:
-        - job: portable-source
-          artifacts: true
-    script:
-        # disable Windows Defender
-        - Add-MpPreference -ExclusionPath 'C:\'
-        - wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
-        - Start-Process "C:\setup-x86_64.exe" -ArgumentList "--quiet-mode --site https://mirrors.kernel.org/sourceware/cygwin --wait" -wait
-        - $env:Path = "C:\cygwin64\bin;" + $env:Path
-        - $Env:build_system = "autotools"
-        # change line endings from crlf to lf
-        - C:\cygwin64\bin\sed -i 's/\r//g' ci/*.sh
-        - C:\cygwin64\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
-    artifacts:
-        when: always
-        expire_in: 1 week
-        paths:
-            - GRAPHVIZ_VERSION
-            - Packages/*/*/*.xz
-    cache:
-        key: windows-cygwin-build
-        paths:
-            - ccache-cache
-    tags:
-        - windows
-    except:
-        - tags
-
-windows-cygwin-build-using-autogen:
-    stage: build
-    needs: []
-    script:
-        # disable Windows Defender
-        - Add-MpPreference -ExclusionPath 'C:\'
-        - wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
-        - Start-Process "C:\setup-x86_64.exe" -ArgumentList "--quiet-mode --site https://mirrors.kernel.org/sourceware/cygwin --wait" -wait
-        - $env:Path = "C:\cygwin64\bin;" + $env:Path
-        - nuget install python -ExcludeVersion -OutputDirectory C:\
-        - $env:Path = "C:\python\tools;" + $env:Path
-        - python gen_version.py --output GRAPHVIZ_VERSION
-        - $Env:build_system = "autotools"
-        - $Env:use_autogen = "yes"
-        # change line endings from crlf to lf
-        - C:\cygwin64\bin\find . '(' -name Makefile.am -or -name "*.def" ')' -exec C:\cygwin64\bin\sed -i 's/\r//g' "{}" ';'
-        - C:\cygwin64\bin\sed -i 's/\r//g' autogen.sh ci/*.sh configure.ac lib/common/color_names lib/common/brewer_colors lib/common/svgcolor_names
-        - C:\cygwin64\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
-    artifacts:
-        when: always
-        expire_in: 1 week
-        paths:
-            - Packages/*/*/*.xz
-    cache:
-        key: windows-cygwin-build-using-autogen
-        paths:
-            - ccache-cache
-    tags:
-        - windows
-    except:
-        - tags
+windows-cygwin-build:
+    stage: build
+    needs:
+        - job: portable-source
+          artifacts: true
+    script:
+        # disable Windows Defender
+        - Add-MpPreference -ExclusionPath 'C:\'
+        - wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
+        - Start-Process "C:\setup-x86_64.exe" -ArgumentList "--quiet-mode --site https://mirrors.kernel.org/sourceware/cygwin --wait" -wait
+        - $env:Path = "C:\cygwin64\bin;" + $env:Path
+        - $Env:build_system = "autotools"
+        # change line endings from crlf to lf
+        - C:\cygwin64\bin\sed -i 's/\r//g' ci/*.sh
+        - C:\cygwin64\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
+    artifacts:
+        when: always
+        expire_in: 1 week
+        paths:
+            - GRAPHVIZ_VERSION
+            - Packages/*/*/*.xz
+    cache:
+        key: windows-cygwin-build
+        paths:
+            - ccache-cache
+    tags:
+        - windows
+    except:
+        - tags
+# 
+windows-cygwin-build-using-autogen:
+    stage: build
+    needs: []
+    script:
+        # disable Windows Defender
+        - Add-MpPreference -ExclusionPath 'C:\'
+        - wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
+        - Start-Process "C:\setup-x86_64.exe" -ArgumentList "--quiet-mode --site https://mirrors.kernel.org/sourceware/cygwin --wait" -wait
+        - $env:Path = "C:\cygwin64\bin;" + $env:Path
+        - nuget install python -ExcludeVersion -OutputDirectory C:\
+        - $env:Path = "C:\python\tools;" + $env:Path
+        - python gen_version.py --output GRAPHVIZ_VERSION
+        - $Env:build_system = "autotools"
+        - $Env:use_autogen = "yes"
+        # change line endings from crlf to lf
+        - C:\cygwin64\bin\find . '(' -name Makefile.am -or -name "*.def" ')' -exec C:\cygwin64\bin\sed -i 's/\r//g' "{}" ';'
+        - C:\cygwin64\bin\sed -i 's/\r//g' autogen.sh ci/*.sh configure.ac lib/common/color_names lib/common/brewer_colors lib/common/svgcolor_names
+        - C:\cygwin64\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
+    artifacts:
+        when: always
+        expire_in: 1 week
+        paths:
+            - Packages/*/*/*.xz
+    cache:
+        key: windows-cygwin-build-using-autogen
+        paths:
+            - ccache-cache
+    tags:
+        - windows
+    except:
+        - tags
 
 ubuntu-18.04-cmake-build:
     <<: *deb_build_definition
@@ -995,36 +995,36 @@ windows-mingw64-cmake-build:
     except:
         - tags
 
-windows-cygwin-cmake-build:
-    stage: build
-    needs: []
-    script:
-        # disable Windows Defender
-        - Add-MpPreference -ExclusionPath 'C:\'
-        - wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
-        - Start-Process "C:\setup-x86_64.exe" -ArgumentList "--quiet-mode --site https://mirrors.kernel.org/sourceware/cygwin --wait" -wait
-        - $env:Path = "C:\cygwin64\bin;" + $env:Path
-        - $Env:build_system = "cmake"
-        # fail on any compiler warnings
-        - $Env:CFLAGS = "-Werror"
-        - $Env:CXXFLAGS = "-Werror"
-        # change line endings from crlf to lf
-        - C:\cygwin64\bin\sed -i 's/\r//g' ci/*.sh lib/common/color_names lib/common/brewer_colors lib/common/svgcolor_names
-        - C:\cygwin64\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
-    artifacts:
-        when: always
-        expire_in: 1 week
-        paths:
-            - Packages/*/*/*.zip
-            - Packages/*/*/*.bz2
-    cache:
-        key: windows-cygwin-cmake-build
-        paths:
-            - ccache-cache
-    tags:
-        - windows
-    except:
-        - tags
+windows-cygwin-cmake-build:
+    stage: build
+    needs: []
+    script:
+        # disable Windows Defender
+        - Add-MpPreference -ExclusionPath 'C:\'
+        - wget https://cygwin.com/setup-x86_64.exe -OutFile C:\setup-x86_64.exe
+        - Start-Process "C:\setup-x86_64.exe" -ArgumentList "--quiet-mode --site https://mirrors.kernel.org/sourceware/cygwin --wait" -wait
+        - $env:Path = "C:\cygwin64\bin;" + $env:Path
+        - $Env:build_system = "cmake"
+        # fail on any compiler warnings
+        - $Env:CFLAGS = "-Werror"
+        - $Env:CXXFLAGS = "-Werror"
+        # change line endings from crlf to lf
+        - C:\cygwin64\bin\sed -i 's/\r//g' ci/*.sh lib/common/color_names lib/common/brewer_colors lib/common/svgcolor_names
+        - C:\cygwin64\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
+    artifacts:
+        when: always
+        expire_in: 1 week
+        paths:
+            - Packages/*/*/*.zip
+            - Packages/*/*/*.bz2
+    cache:
+        key: windows-cygwin-cmake-build
+        paths:
+            - ccache-cache
+    tags:
+        - windows
+    except:
+        - tags
 
 meta-data:
     stage: test