Commit c13a0f4467ae3a27c6f7114593cf1b14a421a8b1

Authored by Jay Berkenbilt
1 parent 4cfa6b7e

Publish test results from AppImage build

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 Soon 1 Soon
11 ==== 2 ====
12 3
azure-pipelines.yml
@@ -94,5 +94,9 @@ jobs: @@ -94,5 +94,9 @@ jobs:
94 artifactName: distribution 94 artifactName: distribution
95 displayName: 'Upload AppImage' 95 displayName: 'Upload AppImage'
96 condition: eq(variables['System.PullRequest.IsFork'], 'False') 96 condition: eq(variables['System.PullRequest.IsFork'], 'False')
  97 + - task: PublishTestResults@2
  98 + inputs:
  99 + testRunTitle: AppImage
  100 + buildPlatform: AppImage
97 dependsOn: Linux 101 dependsOn: Linux
98 condition: succeeded() 102 condition: succeeded()
azure-pipelines/build-appimage
1 #!/bin/bash 1 #!/bin/bash
2 set -ex 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 mkdir distribution 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 for i in distribution/*; do 12 for i in distribution/*; do
11 mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/') 13 mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/')
12 done 14 done