]> granicus.if.org Git - fortune-mod/commitdiff
gh actions #1: mswin64: investigate
authorShlomi Fish <shlomif@shlomifish.org>
Mon, 4 Apr 2022 09:45:15 +0000 (12:45 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Mon, 4 Apr 2022 09:45:15 +0000 (12:45 +0300)
.appveyor.yml
.github/workflows/windows-x64.yml
scripts/debian-packaging/build-rinutils-debian-package--using-docker.pl

index 389579365ac13a306f696d55dc13d36f5c14f4f4..995bc9462d57e2e4cb15a511cf5a129e3ca338dc 100644 (file)
@@ -25,6 +25,10 @@ install:
     - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5
     - cpanm --notest App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap
     - if not exist C:\libtap mkdir C:\libtap
+    - dir C:\
+    - dir C:\msys64
+    - dir C:\msys64\mingw64
+    - dir C:\msys64\mingw64\bin
     - dir C:\msys64\mingw64\bin\*make*.exe
     - copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe
     # - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
index b73f68214a3ccd7dcda938f1938f55766a494de9..8b0ead75c84d6c6222f89eeb26f7a439efed7cbb 100644 (file)
@@ -79,6 +79,14 @@ jobs:
                 if not exist C:\libtap mkdir C:\libtap || ( echo Failed & exit /B
                 1 )
 
+                dir C:\ || ( echo Failed & exit /B 1 )
+
+                dir C:\msys64 || ( echo Failed & exit /B 1 )
+
+                dir C:\msys64\mingw64 || ( echo Failed & exit /B 1 )
+
+                dir C:\msys64\mingw64\bin || ( echo Failed & exit /B 1 )
+
                 dir C:\msys64\mingw64\bin\*make*.exe || ( echo Failed & exit /B 1
                 )
 
index 9c4e798abd8c617ef076de97e3744b611c2959a6..db4e8e4cc4b689e374f278f6b7b8e2707c1090f5 100644 (file)
@@ -38,7 +38,7 @@ my $script = <<"EOSCRIPTTTTTTT";
 $BASH_SAFETY
 apt-get -y update
 apt-get -y install eatmydata sudo
-sudo eatmydata apt -y install build-essential chrpath cmake git-buildpackage librecode-dev perl recode
+sudo eatmydata apt -y install build-essential chrpath cmake dgit git-buildpackage librecode-dev perl recode
 sudo adduser --disabled-password --gecos '' "$USER"
 sudo usermod -a -G sudo "$USER"
 echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
@@ -58,7 +58,12 @@ $script = <<"EOSCRIPTTTTTTT";
 $BASH_SAFETY
 cd "$HOMEDIR/$REPO"
 git clean -dxf .
-(if ! gbp buildpackage 2>&1 ; then exit 0 || cat /tmp/rinutils*diff* ; exit 1 ; fi) | tee ~/"$LOG_FN"
+(if ! gbp buildpackage 2>&1 ; then cat /tmp/rinutils*diff* || true ; exit 0 ; fi) | tee -a ~/"$LOG_FN"
+(if ! dpkg-buildpackage --changes-option=-S 2>&1 ; then cat /tmp/rinutils*diff* || true; exit 0 ; fi) | tee -a ~/"$LOG_FN"
+( ls -lRA ) | tee -a ~/"$LOG_FN"
+(if ! debuild -i -us -uc -S 2>&1 ; then cat /tmp/rinutils*diff* ; exit 1 ; fi) | tee -a ~/"$LOG_FN"
+( ls -lRA ) | tee -a ~/"$LOG_FN"
+(if ! dgit push-source --gbp 2>&1 ; then exit 0 || cat /tmp/rinutils*diff* ; exit 1 ; fi) | tee -a ~/"$LOG_FN"
 sudo dpkg -i ~/librinutils-dev_0.10.0-2_all.deb
 test -f /usr/include/rinutils/rinutils.h
 test -f /usr/include/rinutils/alloc_wrap.h