Commit c13a0f4467ae3a27c6f7114593cf1b14a421a8b1
1 parent
4cfa6b7e
Publish test results from AppImage build
Showing
3 changed files
with
12 additions
and
15 deletions
TODO
| 1 | -Azure Pipelines | |
| 2 | -=============== | |
| 3 | - | |
| 4 | - * Work make_dist and building of the app image into the pipeline so I | |
| 5 | - can use the pipeline to create all the official release files. | |
| 6 | - Append -ci to the names and include the sha256sum in the output. | |
| 7 | - The official release process will be to take the artifacts from the | |
| 8 | - release commit on master, verify the checksums, and rename. | |
| 9 | - | |
| 10 | 1 | Soon |
| 11 | 2 | ==== |
| 12 | 3 | ... | ... |
azure-pipelines.yml
| ... | ... | @@ -94,5 +94,9 @@ jobs: |
| 94 | 94 | artifactName: distribution |
| 95 | 95 | displayName: 'Upload AppImage' |
| 96 | 96 | condition: eq(variables['System.PullRequest.IsFork'], 'False') |
| 97 | + - task: PublishTestResults@2 | |
| 98 | + inputs: | |
| 99 | + testRunTitle: AppImage | |
| 100 | + buildPlatform: AppImage | |
| 97 | 101 | dependsOn: Linux |
| 98 | 102 | condition: succeeded() | ... | ... |
azure-pipelines/build-appimage
| 1 | 1 | #!/bin/bash |
| 2 | 2 | set -ex |
| 3 | -(cd appimage; docker build -t qpdfbuild .) | |
| 4 | -rm -rf /tmp/build | |
| 5 | -mkdir -p /tmp/build | |
| 6 | -git clone .git /tmp/build/qpdf | |
| 7 | -docker run --privileged --rm -v /tmp/build:/tmp/build qpdfbuild | |
| 3 | +cd appimage | |
| 4 | +docker build -t qpdfbuild . | |
| 5 | +rm -rf build | |
| 6 | +mkdir build | |
| 7 | +cd .. | |
| 8 | +git clone .git appimage/build/qpdf | |
| 9 | +docker run --privileged --rm -v $PWD/appimage/build:/tmp/build qpdfbuild | |
| 8 | 10 | mkdir distribution |
| 9 | -cp -p /tmp/build/qpdf/appimage/build/qpdf*AppImage* distribution | |
| 11 | +cp -p appimage/build/qpdf/appimage/build/qpdf*AppImage* distribution | |
| 10 | 12 | for i in distribution/*; do |
| 11 | 13 | mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/') |
| 12 | 14 | done | ... | ... |