diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6dc2d60ebb1..2fc9b8bd4b6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -51,14 +51,21 @@ jobs: set -ex if [ -d /tmp/$USER/plume-scripts ]; \ then git -C /tmp/$USER/plume-scripts pull -q > /dev/null 2>&1 ; \ - else mkdir -p /tmp/$USER && git -C /tmp/$USER clone --filter=blob:none -q https://github.com/eisop-plume-lib/plume-scripts.git ; \ + else mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git ; \ fi displayName: plume-scripts + - bash: | + set -ex + if [ -d /tmp/$USER/git-scripts ]; \ + then git -C /tmp/$USER/git-scripts pull -q > /dev/null 2>&1 ; \ + else mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git ; \ + fi + displayName: git-scripts # This creates ../jdk17u . # If the depth is too small, the merge will fail. - bash: | set -ex - /tmp/$USER/plume-scripts/git-clone-related typetools jdk17u ../jdk17u -q --filter=blob:none + /tmp/$USER/git-scripts/git-clone-related typetools jdk17u ../jdk17u -q --depth 1 displayName: clone-related-jdk17u - bash: | set -ex @@ -95,7 +102,9 @@ jobs: fetchDepth: 25 - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git displayName: clone plume-scripts - - bash: /tmp/$USER/plume-scripts/git-clone-related eisop checker-framework + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git + displayName: clone git-scripts + - bash: /tmp/$USER/git-scripts/git-clone-related eisop checker-framework displayName: clone checker-framework - bash: (cd ../checker-framework && checker/bin-devel/test-cftests-all.sh) displayName: test-cftests-all.sh @@ -108,9 +117,11 @@ jobs: steps: - checkout: self fetchDepth: 25 - - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --filter=blob:none -q https://github.com/eisop-plume-lib/plume-scripts.git + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git displayName: clone plume-scripts - - bash: /tmp/$USER/plume-scripts/git-clone-related eisop checker-framework + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git + displayName: clone git-scripts + - bash: /tmp/$USER/git-scripts/git-clone-related eisop checker-framework displayName: clone checker-framework # test-cftests-all.sh sometimes runs out of memory, but running its component parts in sequence does not. # - bash: (cd ../checker-framework && checker/bin-devel/test-cftests-all.sh) @@ -140,9 +151,11 @@ jobs: steps: - checkout: self fetchDepth: 25 - - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --filter=blob:none -q https://github.com/eisop-plume-lib/plume-scripts.git + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git displayName: clone plume-scripts - - bash: /tmp/$USER/plume-scripts/git-clone-related eisop checker-framework + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git + displayName: clone git-scripts + - bash: /tmp/$USER/git-scripts/git-clone-related eisop checker-framework displayName: clone checker-framework - bash: (cd ../checker-framework && checker/bin-devel/test-cftests-all.sh) displayName: test-cftests-all.sh @@ -155,9 +168,11 @@ jobs: steps: - checkout: self fetchDepth: 25 - - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --filter=blob:none -q https://github.com/eisop-plume-lib/plume-scripts.git + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git displayName: clone plume-scripts - - bash: /tmp/$USER/plume-scripts/git-clone-related eisop checker-framework + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git + displayName: clone git-scripts + - bash: /tmp/$USER/git-scripts/git-clone-related eisop checker-framework displayName: clone checker-framework - bash: (cd ../checker-framework && checker/bin-devel/test-cftests-all.sh) displayName: test-cftests-all.sh @@ -170,9 +185,11 @@ jobs: steps: - checkout: self fetchDepth: 25 - - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --filter=blob:none -q https://github.com/eisop-plume-lib/plume-scripts.git + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git displayName: clone plume-scripts - - bash: /tmp/$USER/plume-scripts/git-clone-related eisop checker-framework + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git + displayName: clone git-scripts + - bash: /tmp/$USER/git-scripts/git-clone-related eisop checker-framework displayName: clone checker-framework - bash: (cd ../checker-framework && checker/bin-devel/test-daikon.sh) displayName: test-daikon.sh @@ -184,9 +201,11 @@ jobs: steps: - checkout: self fetchDepth: 25 - - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --filter=blob:none -q https://github.com/eisop-plume-lib/plume-scripts.git + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/plume-scripts.git displayName: clone plume-scripts - - bash: /tmp/$USER/plume-scripts/git-clone-related eisop checker-framework + - bash: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git + displayName: clone git-scripts + - bash: /tmp/$USER/git-scripts/git-clone-related eisop checker-framework displayName: clone checker-framework - bash: (cd ../checker-framework && checker/bin-devel/test-plume-lib.sh) displayName: test-plume-lib.sh