Commit 1bcd8c1649e65e2be82a8839c857355eb4d3196b
1 parent
807aaa46
Rename azure-pipelines to build-scripts
Showing
11 changed files
with
11 additions
and
11 deletions
README-maintainer
| @@ -326,7 +326,7 @@ When releasing on sourceforge, `external-libs` distributions go in | @@ -326,7 +326,7 @@ When releasing on sourceforge, `external-libs` distributions go in | ||
| 326 | `external-libs/yyyymmdd`, and qpdf distributions go in `qpdf/vvv`. | 326 | `external-libs/yyyymmdd`, and qpdf distributions go in `qpdf/vvv`. |
| 327 | 327 | ||
| 328 | For local iteration on the AppImage generation, it works to just | 328 | For local iteration on the AppImage generation, it works to just |
| 329 | -./azure-pipelines/build-appimage and get the resulting AppImage from | 329 | +./build-scripts/build-appimage and get the resulting AppImage from |
| 330 | the distribution directory. You can also pass -e SKIP_TESTS=1 | 330 | the distribution directory. You can also pass -e SKIP_TESTS=1 |
| 331 | build-appimage, which passes it along to to docker, to skip the test | 331 | build-appimage, which passes it along to to docker, to skip the test |
| 332 | suite, which useful for rapid iteration. | 332 | suite, which useful for rapid iteration. |
azure-pipelines.yml
| @@ -3,7 +3,7 @@ jobs: | @@ -3,7 +3,7 @@ jobs: | ||
| 3 | pool: | 3 | pool: |
| 4 | vmImage: ubuntu-16.04 | 4 | vmImage: ubuntu-16.04 |
| 5 | steps: | 5 | steps: |
| 6 | - - script: azure-pipelines/build-linux | 6 | + - script: build-scripts/build-linux |
| 7 | displayName: 'Generate, build, and test' | 7 | displayName: 'Generate, build, and test' |
| 8 | - task: PublishBuildArtifacts@1 | 8 | - task: PublishBuildArtifacts@1 |
| 9 | inputs: | 9 | inputs: |
| @@ -51,7 +51,7 @@ jobs: | @@ -51,7 +51,7 @@ jobs: | ||
| 51 | artifactName: distfiles | 51 | artifactName: distfiles |
| 52 | downloadPath: $(System.DefaultWorkingDirectory) | 52 | downloadPath: $(System.DefaultWorkingDirectory) |
| 53 | condition: eq(variables['System.PullRequest.IsFork'], 'False') | 53 | condition: eq(variables['System.PullRequest.IsFork'], 'False') |
| 54 | - - script: azure-pipelines/build-windows.bat $(wordsize) $(tool) | 54 | + - script: build-scripts/build-windows.bat $(wordsize) $(tool) |
| 55 | displayName: 'Build, test, generate binary distributions' | 55 | displayName: 'Build, test, generate binary distributions' |
| 56 | - task: PublishBuildArtifacts@1 | 56 | - task: PublishBuildArtifacts@1 |
| 57 | inputs: | 57 | inputs: |
| @@ -75,7 +75,7 @@ jobs: | @@ -75,7 +75,7 @@ jobs: | ||
| 75 | artifactName: distfiles | 75 | artifactName: distfiles |
| 76 | downloadPath: $(System.DefaultWorkingDirectory) | 76 | downloadPath: $(System.DefaultWorkingDirectory) |
| 77 | condition: eq(variables['System.PullRequest.IsFork'], 'False') | 77 | condition: eq(variables['System.PullRequest.IsFork'], 'False') |
| 78 | - - script: azure-pipelines/build-mac | 78 | + - script: build-scripts/build-mac |
| 79 | displayName: 'Mac build and test' | 79 | displayName: 'Mac build and test' |
| 80 | - task: PublishTestResults@2 | 80 | - task: PublishTestResults@2 |
| 81 | inputs: | 81 | inputs: |
| @@ -87,7 +87,7 @@ jobs: | @@ -87,7 +87,7 @@ jobs: | ||
| 87 | pool: | 87 | pool: |
| 88 | vmImage: ubuntu-16.04 | 88 | vmImage: ubuntu-16.04 |
| 89 | steps: | 89 | steps: |
| 90 | - - script: azure-pipelines/build-appimage | 90 | + - script: build-scripts/build-appimage |
| 91 | displayName: 'Build AppImage' | 91 | displayName: 'Build AppImage' |
| 92 | - task: PublishBuildArtifacts@1 | 92 | - task: PublishBuildArtifacts@1 |
| 93 | inputs: | 93 | inputs: |
| @@ -105,7 +105,7 @@ jobs: | @@ -105,7 +105,7 @@ jobs: | ||
| 105 | pool: | 105 | pool: |
| 106 | vmImage: ubuntu-16.04 | 106 | vmImage: ubuntu-16.04 |
| 107 | steps: | 107 | steps: |
| 108 | - - script: azure-pipelines/build-linux32 | 108 | + - script: build-scripts/build-linux32 |
| 109 | displayName: 'Linux 32-bit' | 109 | displayName: 'Linux 32-bit' |
| 110 | - task: PublishTestResults@2 | 110 | - task: PublishTestResults@2 |
| 111 | inputs: | 111 | inputs: |
| @@ -117,7 +117,7 @@ jobs: | @@ -117,7 +117,7 @@ jobs: | ||
| 117 | pool: | 117 | pool: |
| 118 | vmImage: ubuntu-16.04 | 118 | vmImage: ubuntu-16.04 |
| 119 | steps: | 119 | steps: |
| 120 | - - script: azure-pipelines/build-fuzzer | 120 | + - script: build-scripts/build-fuzzer |
| 121 | displayName: 'Build Fuzzer' | 121 | displayName: 'Build Fuzzer' |
| 122 | dependsOn: Linux | 122 | dependsOn: Linux |
| 123 | condition: succeeded() | 123 | condition: succeeded() |
| @@ -125,7 +125,7 @@ jobs: | @@ -125,7 +125,7 @@ jobs: | ||
| 125 | pool: | 125 | pool: |
| 126 | vmImage: ubuntu-16.04 | 126 | vmImage: ubuntu-16.04 |
| 127 | steps: | 127 | steps: |
| 128 | - - script: azure-pipelines/test-sanitizers | 128 | + - script: build-scripts/test-sanitizers |
| 129 | displayName: 'Sanitizer Tests' | 129 | displayName: 'Sanitizer Tests' |
| 130 | - task: PublishTestResults@2 | 130 | - task: PublishTestResults@2 |
| 131 | inputs: | 131 | inputs: |
azure-pipelines/build-appimage renamed to build-scripts/build-appimage
azure-pipelines/build-fuzzer renamed to build-scripts/build-fuzzer
azure-pipelines/build-linux renamed to build-scripts/build-linux
azure-pipelines/build-linux32 renamed to build-scripts/build-linux32
azure-pipelines/build-mac renamed to build-scripts/build-mac
azure-pipelines/build-windows renamed to build-scripts/build-windows
azure-pipelines/build-windows.bat renamed to build-scripts/build-windows.bat
| @@ -7,10 +7,10 @@ if %2 == msvc ( | @@ -7,10 +7,10 @@ if %2 == msvc ( | ||
| 7 | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat" | 7 | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat" |
| 8 | ) | 8 | ) |
| 9 | choco install zip | 9 | choco install zip |
| 10 | - bash ./azure-pipelines/build-windows %1 %2 | 10 | + bash ./build-scripts/build-windows %1 %2 |
| 11 | ) else ( | 11 | ) else ( |
| 12 | @rem The vs2017-win2016 pool has an ancient 64-bit-only mingw. | 12 | @rem The vs2017-win2016 pool has an ancient 64-bit-only mingw. |
| 13 | @rem Install msys2 so we can get current gcc toolchains. | 13 | @rem Install msys2 so we can get current gcc toolchains. |
| 14 | choco install msys2 | 14 | choco install msys2 |
| 15 | - C:\tools\msys64\usr\bin\env.exe MSYSTEM=MINGW64 /bin/bash -l %CD%/azure-pipelines/build-windows %1 %2 | 15 | + C:\tools\msys64\usr\bin\env.exe MSYSTEM=MINGW64 /bin/bash -l %CD%/build-scripts/build-windows %1 %2 |
| 16 | ) | 16 | ) |
azure-pipelines/test-sanitizers renamed to build-scripts/test-sanitizers
fuzz/oss-fuzz-build
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | # https://github.com/google/oss-fuzz/blob/master/projects/qpdf/build.sh | 4 | # https://github.com/google/oss-fuzz/blob/master/projects/qpdf/build.sh |
| 5 | 5 | ||
| 6 | # It should be run from the top level directory of a clean checkout of | 6 | # It should be run from the top level directory of a clean checkout of |
| 7 | -# qpdf. It is also exercised in ../azure-pipelines/build-fuzzer | 7 | +# qpdf. It is also exercised in ../build-scripts/build-fuzzer |
| 8 | 8 | ||
| 9 | if [[ $GITHUB_FORK != "" ]]; then | 9 | if [[ $GITHUB_FORK != "" ]]; then |
| 10 | git remote add fork https://github.com/$GITHUB_FORK/qpdf | 10 | git remote add fork https://github.com/$GITHUB_FORK/qpdf |