Browse Source

[ci] bring back docgen

Simon Krajewski 6 years ago
parent
commit
56ad076c34
1 changed files with 14 additions and 1 deletions
  1. 14 1
      extra/azure-pipelines/build-linux.yml

+ 14 - 1
extra/azure-pipelines/build-linux.yml

@@ -50,4 +50,17 @@ jobs:
       - task: PublishPipelineArtifact@0
         inputs:
           artifactName: 'linuxBinaries'
-          targetPath: out
+          targetPath: out      - script: |
+          set -ex
+          make -s xmldoc
+          cat >extra/doc/info.json <<EOL
+            {
+              "commit": "$(Build.SourceVersion)",
+              "branch": "$(Build.SourceBranchName)"
+            }
+          EOL
+        displayName: Build xmldoc
+      - task: PublishPipelineArtifact@0
+        inputs:
+          artifactName: 'xmldoc'
+          targetPath: extra/doc