Skip to content

Commit

Permalink
Use git-scripts (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl authored Jul 13, 2024
1 parent 6bdbb4f commit 6fe3e78
Showing 1 changed file with 32 additions and 13 deletions.
45 changes: 32 additions & 13 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 6fe3e78

Please sign in to comment.