]> granicus.if.org Git - fortune-mod/commitdiff
gh actions #1: mswin64: no need for gperf
authorShlomi Fish <shlomif@shlomifish.org>
Sat, 11 Dec 2021 17:34:13 +0000 (19:34 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Sat, 11 Dec 2021 17:34:13 +0000 (19:34 +0200)
.appveyor.yml
.github/workflows/windows-x64.yml

index 033699462c5f14cf6a14d4316bc316b274ef860c..7194f558652882a5447bfe9c404049a462f51627 100644 (file)
@@ -32,11 +32,6 @@ install:
     # - SET PERL_MB_OPT=--install_base C:/_P5
     # - SET PERL_MM_OPT=INSTALL_BASE=C:/_P5
     - perl -v
-    # - if not exist C:\libtap\gperf-3.0.4.tar.gz curl -o C:\libtap\gperf-3.0.4.tar.gz http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz
-    - curl -o C:\libtap\gperf-3.0.4.tar.gz http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz
-    - copy C:\libtap\gperf-3.0.4.tar.gz .
-    - tar -xvf gperf-3.0.4.tar.gz
-    - cd gperf-3.0.4 && perl -e "if (-e qq#C:\\libtap\\bin\\gperf.exe#) { exit(0); } $ENV{PATH} = qq#C:\\msys64\\mingw64\\bin;$ENV{PATH}#; system('sh configure --prefix=C:/libtap') or system('gmake') or system('gmake install');" && cd ..
     - git clone https://github.com/clibs/cmocka libtap
     - mkdir libtap\b
     - cd libtap\b
index 7931c4c2c04950d87e65e4cf3b33d691e6ad643f..9247c0a6bc90b3ffdcdd21c958d67d0fcbb11871 100644 (file)
@@ -88,19 +88,6 @@ jobs:
 
                 perl -v || ( echo Failed & exit /B 1 )
 
-                curl -o C:\libtap\gperf-3.0.4.tar.gz http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz
-                || ( echo Failed & exit /B 1 )
-
-                copy C:\libtap\gperf-3.0.4.tar.gz . || ( echo Failed & exit /B 1 )
-
-                tar -xvf gperf-3.0.4.tar.gz || ( echo Failed & exit /B 1 )
-
-                cd gperf-3.0.4 && perl -e "if (-e qq#C:\\libtap\\bin\\gperf.exe#)
-                { exit(0); } $ENV{PATH} = qq#C:\\msys64\\mingw64\\bin;$ENV{PATH}#;
-                system(''sh configure --prefix=C:/libtap'') or system(''gmake'') or
-                system(''gmake install'');" && cd .. || ( echo Failed & exit /B 1
-                )
-
                 git clone https://github.com/clibs/cmocka libtap || ( echo Failed
                 & exit /B 1 )