2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00

Publish test results from AppImage build

This commit is contained in:
Jay Berkenbilt 2018-10-15 14:13:52 -04:00
parent 4cfa6b7e49
commit c13a0f4467
3 changed files with 12 additions and 15 deletions

9
TODO
View File

@ -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
====

View File

@ -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()

View File

@ -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