summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-10-15 20:13:52 +0200
committerJay Berkenbilt <ejb@ql.org>2018-10-16 17:41:00 +0200
commitc13a0f4467ae3a27c6f7114593cf1b14a421a8b1 (patch)
treec5fa9bf4b181523d22d78c4625430b8ef8f6a935
parent4cfa6b7e4927bac7fae7b62144f5e6704fce5cb9 (diff)
downloadqpdf-c13a0f4467ae3a27c6f7114593cf1b14a421a8b1.tar.zst
Publish test results from AppImage build
-rw-r--r--TODO9
-rw-r--r--azure-pipelines.yml4
-rwxr-xr-xazure-pipelines/build-appimage14
3 files changed, 12 insertions, 15 deletions
diff --git a/TODO b/TODO
index fecb1578..d2b30156 100644
--- a/TODO
+++ b/TODO
@@ -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