]> granicus.if.org Git - fortune-mod/commitdiff
gh actions #4: mswin64: use w64 arch
authorShlomi Fish <shlomif@shlomifish.org>
Mon, 4 Apr 2022 12:05:28 +0000 (15:05 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Mon, 4 Apr 2022 12:05:28 +0000 (15:05 +0300)
CI-testing/continuous-integration-testing.pl

index 9b3f2eac11b697c490d8b535fb5c2eb16ca25b66..7a9f3fd6803226d3800177e0fee0b6535088aecc 100644 (file)
@@ -91,6 +91,7 @@ if ($IS_WIN)
 chdir($cwd);
 $cwd->child('B')->remove_tree( { safe => 0, } );
 
+my $W = "-DTARGET_ARCH=x86_64-w64-mingw32";    # -G Ninja ..
 my $WIN32__DOUBLE_AMPERSAND__PROPER_HANDLING__NEEDED_PREFIX = "cd . &&";
 print "PATH = <<$ENV{PATH}>>\n";
 do_system(
@@ -106,7 +107,7 @@ do_system(
                 . (
                 $IS_WIN
                 ? ( $cmake_common_args
-                        . " -DCMAKE_INSTALL_PREFIX=c:/foo "
+                        . "$W -DCMAKE_INSTALL_PREFIX=c:/foo "
                         . " ../fortune-mod && $MAKE && $MAKE install && $MAKE check"
                     )
                 : ( $cmake_common_args