diff options
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | azure-pipelines.yml | 4 | ||||
-rwxr-xr-x | azure-pipelines/build-appimage | 14 |
3 files changed, 12 insertions, 15 deletions
@@ -1,12 +1,3 @@ -Azure Pipelines -=============== - - * Work make_dist and building of the app image into the pipeline so I - can use the pipeline to create all the official release files. - Append -ci to the names and include the sha256sum in the output. - The official release process will be to take the artifacts from the - release commit on master, verify the checksums, and rename. - Soon ==== diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 93a5bef4..7e6bfbc5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -94,5 +94,9 @@ jobs: artifactName: distribution displayName: 'Upload AppImage' condition: eq(variables['System.PullRequest.IsFork'], 'False') + - task: PublishTestResults@2 + inputs: + testRunTitle: AppImage + buildPlatform: AppImage dependsOn: Linux condition: succeeded() diff --git a/azure-pipelines/build-appimage b/azure-pipelines/build-appimage index d2d100e8..b3a99baa 100755 --- a/azure-pipelines/build-appimage +++ b/azure-pipelines/build-appimage @@ -1,12 +1,14 @@ #!/bin/bash set -ex -(cd appimage; docker build -t qpdfbuild .) -rm -rf /tmp/build -mkdir -p /tmp/build -git clone .git /tmp/build/qpdf -docker run --privileged --rm -v /tmp/build:/tmp/build qpdfbuild +cd appimage +docker build -t qpdfbuild . +rm -rf build +mkdir build +cd .. +git clone .git appimage/build/qpdf +docker run --privileged --rm -v $PWD/appimage/build:/tmp/build qpdfbuild mkdir distribution -cp -p /tmp/build/qpdf/appimage/build/qpdf*AppImage* distribution +cp -p appimage/build/qpdf/appimage/build/qpdf*AppImage* distribution for i in distribution/*; do mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/') done |