Commit 395efdf8d7b8bb4e6a15bc31e6b41c86da617c4d
1 parent
98f6c00d
Turn off azure pipelines, completing migration to GitHub Actions
Showing
5 changed files
with
7 additions
and
143 deletions
ChangeLog
| 1 | 2020-10-21 Jay Berkenbilt <ejb@ql.org> | 1 | 2020-10-21 Jay Berkenbilt <ejb@ql.org> |
| 2 | 2 | ||
| 3 | + * Qpdf's build and CI has been migrated from Azure Pipelines | ||
| 4 | + (Azure Devops) to GitHub Actions. | ||
| 5 | + | ||
| 3 | * Ensure that numeric conversion is not affected by the user's | 6 | * Ensure that numeric conversion is not affected by the user's |
| 4 | global locale setting. Fixes #459. | 7 | global locale setting. Fixes #459. |
| 5 | 8 |
README-maintainer
| @@ -221,10 +221,10 @@ pytest -n auto | @@ -221,10 +221,10 @@ pytest -n auto | ||
| 221 | 221 | ||
| 222 | CREATING A RELEASE | 222 | CREATING A RELEASE |
| 223 | 223 | ||
| 224 | -* Push to master. The azure pipeline will create an artifact called | ||
| 225 | - distribution which will contain all the distribution files. Download | ||
| 226 | - these, verify the checksums from the job output, rename to remove | ||
| 227 | - -ci from the names, and copy to the release archive area. | 224 | +* Push to master. This will create an artifact called distribution |
| 225 | + which will contain all the distribution files. Download these, | ||
| 226 | + verify the checksums from the job output, rename to remove -ci from | ||
| 227 | + the names, and copy to the release archive area. | ||
| 228 | 228 | ||
| 229 | * Sign the source distribution: | 229 | * Sign the source distribution: |
| 230 | 230 |
README.md
| @@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
| 3 | [](http://qpdf.sourceforge.net) | 3 | [](http://qpdf.sourceforge.net) |
| 4 | 4 | ||
| 5 | [](https://github.com/qpdf/qpdf/actions) | 5 | [](https://github.com/qpdf/qpdf/actions) |
| 6 | -[](https://dev.azure.com/qpdf/qpdf/_build/latest?definitionId=5) [](https://lgtm.com/projects/g/qpdf/qpdf/alerts/) | ||
| 7 | [](https://lgtm.com/projects/g/qpdf/qpdf/context:cpp) | 6 | [](https://lgtm.com/projects/g/qpdf/qpdf/context:cpp) |
| 8 | 7 | ||
| 9 | This is the QPDF package. Information about it can be found at http://qpdf.sourceforge.net. The source code repository is hosted at GitHub: https://github.com/qpdf/qpdf. | 8 | This is the QPDF package. Information about it can be found at http://qpdf.sourceforge.net. The source code repository is hosted at GitHub: https://github.com/qpdf/qpdf. |
TODO
| @@ -13,11 +13,6 @@ Candidates for upcoming release | @@ -13,11 +13,6 @@ Candidates for upcoming release | ||
| 13 | * #446: recognize edited QDF files | 13 | * #446: recognize edited QDF files |
| 14 | * #436: parsing of document with form xobject | 14 | * #436: parsing of document with form xobject |
| 15 | 15 | ||
| 16 | -* GitHub Actions: | ||
| 17 | - | ||
| 18 | - * Complete migration. Do a case-insensitive search for azure to find | ||
| 19 | - documentation references. | ||
| 20 | - | ||
| 21 | * See if we can work in Windows Build/External Libraries (below) | 16 | * See if we can work in Windows Build/External Libraries (below) |
| 22 | 17 | ||
| 23 | * Remember to check work `qpdf` project for private issues | 18 | * Remember to check work `qpdf` project for private issues |
azure-pipelines.yml deleted
| 1 | -jobs: | ||
| 2 | -- job: Distfiles | ||
| 3 | - pool: | ||
| 4 | - vmImage: ubuntu-16.04 | ||
| 5 | - steps: | ||
| 6 | - - script: build-scripts/make-distfiles | ||
| 7 | - displayName: 'Create distfiles.zip' | ||
| 8 | - - task: PublishBuildArtifacts@1 | ||
| 9 | - inputs: | ||
| 10 | - pathtoPublish: '$(System.DefaultWorkingDirectory)/distfiles.zip' | ||
| 11 | - artifactName: distfiles | ||
| 12 | - displayName: 'Upload extra distribution files' | ||
| 13 | - condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 14 | -- job: Linux | ||
| 15 | - pool: | ||
| 16 | - vmImage: ubuntu-16.04 | ||
| 17 | - steps: | ||
| 18 | - - script: build-scripts/build-linux | ||
| 19 | - displayName: 'Generate, build, and test' | ||
| 20 | - - task: PublishBuildArtifacts@1 | ||
| 21 | - inputs: | ||
| 22 | - pathtoPublish: '$(System.DefaultWorkingDirectory)/distribution' | ||
| 23 | - artifactName: distribution | ||
| 24 | - displayName: 'Upload source distribution' | ||
| 25 | - condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 26 | - - task: PublishTestResults@2 | ||
| 27 | - inputs: | ||
| 28 | - testRunTitle: Linux | ||
| 29 | - buildPlatform: Linux | ||
| 30 | -- job: Windows | ||
| 31 | - pool: | ||
| 32 | - # If updating this, see note in TODO about MSVC wildcard expansion. | ||
| 33 | - vmImage: windows-2019 | ||
| 34 | - strategy: | ||
| 35 | - matrix: | ||
| 36 | - msvc32: | ||
| 37 | - wordsize: 32 | ||
| 38 | - tool: msvc | ||
| 39 | - msvc64: | ||
| 40 | - wordsize: 64 | ||
| 41 | - tool: msvc | ||
| 42 | - mingw32: | ||
| 43 | - wordsize: 32 | ||
| 44 | - tool: mingw | ||
| 45 | - mingw64: | ||
| 46 | - wordsize: 64 | ||
| 47 | - tool: mingw | ||
| 48 | - maxParallel: 4 | ||
| 49 | - steps: | ||
| 50 | - - bash: git config --global core.autocrlf input | ||
| 51 | - displayName: 'Disable git autocrlf' | ||
| 52 | - - checkout: self | ||
| 53 | - displayName: 'Get sources' | ||
| 54 | - - task: DownloadBuildArtifacts@0 | ||
| 55 | - displayName: 'Download distribution files' | ||
| 56 | - inputs: | ||
| 57 | - artifactName: distfiles | ||
| 58 | - downloadPath: $(System.DefaultWorkingDirectory) | ||
| 59 | - condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 60 | - - script: build-scripts/build-windows.bat $(wordsize) $(tool) | ||
| 61 | - displayName: 'Build, test, generate binary distributions' | ||
| 62 | - - task: PublishBuildArtifacts@1 | ||
| 63 | - inputs: | ||
| 64 | - pathtoPublish: '$(System.DefaultWorkingDirectory)/distribution' | ||
| 65 | - artifactName: distribution | ||
| 66 | - displayName: 'Upload binary distributions' | ||
| 67 | - condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 68 | - - task: PublishTestResults@2 | ||
| 69 | - inputs: | ||
| 70 | - testRunTitle: Windows-$(wordsize)$(tool) | ||
| 71 | - buildPlatform: Windows-$(wordsize)$(tool) | ||
| 72 | - dependsOn: Distfiles | ||
| 73 | - condition: succeeded() | ||
| 74 | -- job: macOS | ||
| 75 | - pool: | ||
| 76 | - vmImage: macOS-10.14 | ||
| 77 | - steps: | ||
| 78 | - - task: DownloadBuildArtifacts@0 | ||
| 79 | - displayName: 'Download distribution files' | ||
| 80 | - inputs: | ||
| 81 | - artifactName: distfiles | ||
| 82 | - downloadPath: $(System.DefaultWorkingDirectory) | ||
| 83 | - condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 84 | - - script: build-scripts/build-mac | ||
| 85 | - displayName: 'Mac build and test' | ||
| 86 | - - task: PublishTestResults@2 | ||
| 87 | - inputs: | ||
| 88 | - testRunTitle: MacOS | ||
| 89 | - buildPlatform: MacOS | ||
| 90 | - dependsOn: Distfiles | ||
| 91 | - condition: succeeded() | ||
| 92 | -- job: AppImage | ||
| 93 | - pool: | ||
| 94 | - vmImage: ubuntu-16.04 | ||
| 95 | - steps: | ||
| 96 | - - script: build-scripts/build-appimage | ||
| 97 | - displayName: 'Build AppImage' | ||
| 98 | - - task: PublishBuildArtifacts@1 | ||
| 99 | - inputs: | ||
| 100 | - pathtoPublish: '$(System.DefaultWorkingDirectory)/distribution' | ||
| 101 | - artifactName: distribution | ||
| 102 | - displayName: 'Upload AppImage' | ||
| 103 | - condition: eq(variables['System.PullRequest.IsFork'], 'False') | ||
| 104 | - - task: PublishTestResults@2 | ||
| 105 | - inputs: | ||
| 106 | - testRunTitle: AppImage | ||
| 107 | - buildPlatform: AppImage | ||
| 108 | -- job: Linux32 | ||
| 109 | - pool: | ||
| 110 | - vmImage: ubuntu-16.04 | ||
| 111 | - steps: | ||
| 112 | - - script: build-scripts/build-linux32 | ||
| 113 | - displayName: 'Linux 32-bit' | ||
| 114 | - - task: PublishTestResults@2 | ||
| 115 | - inputs: | ||
| 116 | - testRunTitle: Linux32 | ||
| 117 | - buildPlatform: Linux32 | ||
| 118 | -- job: Fuzzers | ||
| 119 | - pool: | ||
| 120 | - vmImage: ubuntu-16.04 | ||
| 121 | - steps: | ||
| 122 | - - script: build-scripts/build-fuzzer | ||
| 123 | - displayName: 'Build Fuzzer' | ||
| 124 | -- job: Sanitizers | ||
| 125 | - pool: | ||
| 126 | - vmImage: ubuntu-16.04 | ||
| 127 | - steps: | ||
| 128 | - - script: build-scripts/test-sanitizers | ||
| 129 | - displayName: 'Sanitizer Tests' | ||
| 130 | - - task: PublishTestResults@2 | ||
| 131 | - inputs: | ||
| 132 | - testRunTitle: Sanitizers | ||
| 133 | - buildPlatform: Sanitizers |