]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'js/azure-pipelines-msvc'
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 Oct 2019 02:06:46 +0000 (11:06 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Oct 2019 02:06:46 +0000 (11:06 +0900)
* js/azure-pipelines-msvc:
  ci(visual-studio): actually run the tests in parallel
  ci(visual-studio): use strict compile flags, and optimization

1  2 
azure-pipelines.yml

diff --combined azure-pipelines.yml
index 9f099b9529449c246a347c9597a1c41298b920d7,17a942e21340101f53d0d3213f44d2b630e0a967..af2a5ea4845fd2af06e99ed1619f44c167055294
@@@ -157,7 -157,7 +157,7 @@@ jobs
      displayName: 'Download git-sdk-64-minimal'
    - powershell: |
        & git-sdk-64-minimal\usr\bin\bash.exe -lc @"
-         make vcxproj
+         make NDEBUG=1 DEVELOPER=1 vcxproj
        "@
        if (!$?) { exit(1) }
      displayName: Generate Visual Studio Solution
  
          cd t &&
          PATH=\"`$PWD/helper:`$PATH\" &&
-         test-tool.exe run-command testsuite -V -x --write-junit-xml \
+         test-tool.exe run-command testsuite --jobs=10 -V -x --write-junit-xml \
                  `$(test-tool.exe path-utils slice-tests \
                          `$SYSTEM_JOBPOSITIONINPHASE `$SYSTEM_TOTALJOBSINPHASE t[0-9]*.sh)
        "@
         test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
  
         sudo apt-get update &&
 -       sudo apt-get install -y coccinelle &&
 +       sudo apt-get install -y coccinelle libcurl4-openssl-dev libssl-dev libexpat-dev gettext &&
  
         export jobname=StaticAnalysis &&
  
         test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
  
         sudo apt-get update &&
 -       sudo apt-get install -y asciidoc xmlto asciidoctor &&
 +       sudo apt-get install -y asciidoc xmlto asciidoctor docbook-xsl-ns &&
  
         export ALREADY_HAVE_ASCIIDOCTOR=yes. &&
         export jobname=Documentation &&