Commit 8d6f923e130fa2266bab5dcb799c5b5cd2f391d0
1 parent
f162a229
Run make_dist from azure pipeline
Showing
3 changed files
with
11 additions
and
1 deletions
azure-pipelines.yml
| @@ -11,6 +11,12 @@ jobs: | @@ -11,6 +11,12 @@ jobs: | ||
| 11 | artifactName: distfiles | 11 | artifactName: distfiles |
| 12 | displayName: 'Upload extra distribution files' | 12 | displayName: 'Upload extra distribution files' |
| 13 | condition: eq(variables['System.PullRequest.IsFork'], 'False') | 13 | condition: eq(variables['System.PullRequest.IsFork'], 'False') |
| 14 | + - task: PublishBuildArtifacts@1 | ||
| 15 | + inputs: | ||
| 16 | + pathtoPublish: '$(System.DefaultWorkingDirectory)/distribution' | ||
| 17 | + artifactName: distribution | ||
| 18 | + displayName: 'Upload source distribution' | ||
| 19 | + condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 14 | - job: Windows | 20 | - job: Windows |
| 15 | pool: | 21 | pool: |
| 16 | vmImage: vs2017-win2016 | 22 | vmImage: vs2017-win2016 |
azure-pipelines/build-linux
| @@ -9,3 +9,7 @@ sudo apt-get -y install \ | @@ -9,3 +9,7 @@ sudo apt-get -y install \ | ||
| 9 | make -j$(nproc) | 9 | make -j$(nproc) |
| 10 | make -k check | 10 | make -k check |
| 11 | make distfiles.zip | 11 | make distfiles.zip |
| 12 | +./make_dist --ci --no-tests | ||
| 13 | +mkdir distribution | ||
| 14 | +cp /tmp/qpdf*-ci.tar.gz distribution | ||
| 15 | +sha256sum distribution/* |
make_dist
| @@ -85,7 +85,7 @@ if ($version_error) | @@ -85,7 +85,7 @@ if ($version_error) | ||
| 85 | die "$whoami: version numbers are not consistent\n"; | 85 | die "$whoami: version numbers are not consistent\n"; |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | -run("./configure --enable-doc-maintenance --enable-werror"); | 88 | +run("./configure --disable-shared --enable-doc-maintenance --enable-werror"); |
| 89 | run("make -j8 build_manual"); | 89 | run("make -j8 build_manual"); |
| 90 | run("make distclean"); | 90 | run("make distclean"); |
| 91 | cd("/tmp"); | 91 | cd("/tmp"); |