-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
164 changed files
with
1,940 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# variables: | ||
# system.debug: true | ||
|
||
jobs: | ||
|
||
- job: build_jdk | ||
|
@@ -12,12 +15,7 @@ jobs: | |
ls -al | ||
env | sort | ||
displayName: show environment | ||
- bash: | | ||
wget https://builds.shipilev.net/jtreg/jtreg-6.2%2B1.zip -O /tmp/$USER/jtreg.zip | ||
unzip /tmp/$USER/jtreg.zip -d /tmp/$USER/ | ||
chmod +x /tmp/$USER/jtreg/bin/jtdiff /tmp/$USER/jtreg/bin/jtreg | ||
displayName: download jtreg | ||
- bash: pwd && ls && bash ./configure --with-jtreg=/tmp/$USER/jtreg --disable-warnings-as-errors | ||
- bash: pwd && ls && bash ./configure --with-jtreg=/usr/share/jtreg --disable-warnings-as-errors | ||
displayName: configure | ||
- bash: make jdk | ||
timeoutInMinutes: 90 | ||
|
@@ -43,40 +41,51 @@ jobs: | |
env | sort | ||
displayName: show environment | ||
- bash: | | ||
wget https://builds.shipilev.net/jtreg/jtreg-6.2%2B1.zip -O /tmp/$USER/jtreg.zip | ||
unzip /tmp/$USER/jtreg.zip -d /tmp/$USER/ | ||
chmod +x /tmp/$USER/jtreg/bin/jtdiff /tmp/$USER/jtreg/bin/jtreg | ||
displayName: download jtreg | ||
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 | ||
- bash: | | ||
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 --depth 1 -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. | ||
# If the depth is too small, the merge will fail. However, we cannot use "--filter=blob:none" | ||
# because that leads to "fatal: remote error: filter 'combine' not supported". | ||
- bash: | | ||
set -ex | ||
/tmp/$USER/git-scripts/git-clone-related typetools jdk17u ../jdk17u -q --depth 1 | ||
pwd | ||
ls -al .. || true | ||
ls -al ../jdk17u || true | ||
df . | ||
/tmp/$USER/git-scripts/git-clone-related typetools jdk17u ../jdk17u --depth 999 | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git config --global core.longpaths true | ||
git config --global core.protectNTFS false | ||
cd ../jdk17u && git status | ||
git diff --exit-code | ||
echo $? | ||
displayName: clone-related-jdk17u | ||
- bash: | | ||
set -ex | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git config --global pull.ff true | ||
git config --global pull.rebase false | ||
git config --global core.longpaths true | ||
git config --global core.protectNTFS false | ||
eval `/tmp/$USER/plume-scripts/ci-info eisop` | ||
cd ../jdk17u && git pull --no-edit https://github.com/${CI_ORGANIZATION}/jdk ${CI_BRANCH} || (git --version && git show && echo "Merge failed; see 'Pull request merge conflicts' at https://github.com/eisop/jdk/blob/master/README" && false) | ||
cd ../jdk17u && git status | ||
echo "About to run: git pull --no-edit https://github.com/${CI_ORGANIZATION}/jdk ${CI_BRANCH}" | ||
cd ../jdk17u && git pull --no-edit https://github.com/${CI_ORGANIZATION}/jdk ${CI_BRANCH} || (git --version && git show && git status && echo "Merge failed; see 'Pull request merge conflicts' at https://github.com/eisop/jdk/blob/master/README.md" && false) | ||
displayName: git merge | ||
- bash: cd ../jdk17u && export JT_HOME=/tmp/$USER/jtreg && bash ./configure --with-jtreg=/tmp/$USER/jtreg --disable-warnings-as-errors | ||
- bash: cd ../jdk17u && export JT_HOME=/usr/share/jtreg && bash ./configure --with-jtreg=/usr/share/jtreg --disable-warnings-as-errors | ||
displayName: configure | ||
- bash: cd ../jdk17u && make jdk | ||
displayName: make jdk | ||
|
@@ -110,30 +119,19 @@ jobs: | |
displayName: test-cftests-all.sh | ||
|
||
- job: test_cftests_all_jdk11 | ||
timeoutInMinutes: 105 | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
container: wmdietl/cf-ubuntu-jdk11:latest | ||
steps: | ||
- checkout: self | ||
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: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git | ||
- 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) | ||
# displayName: test-cftests-all.sh | ||
- bash: (cd ../checker-framework && checker/bin-devel/test-cftests-junit.sh) | ||
displayName: test-cftests-junit.sh | ||
- bash: (cd ../checker-framework && checker/bin-devel/test-cftests-nonjunit.sh) | ||
displayName: test-cftests-nonjunit.sh | ||
- bash: (cd ../checker-framework && checker/bin-devel/test-cftests-inference.sh) | ||
displayName: test-cftests-inference.sh | ||
- bash: (cd ../checker-framework && checker/bin-devel/test-typecheck.sh) | ||
displayName: test-typecheck.sh | ||
- bash: (cd ../checker-framework && checker/bin-devel/test-cftests-all.sh) | ||
displayName: test-cftests-all.sh | ||
## Here is how to create artifacts that can be downloaded. | ||
# - bash: (cd ../checker-framework/checker/build/jtregJdk11/ && tar -czvf all.tgz all) | ||
# condition: succeededOrFailed() | ||
|
@@ -144,33 +142,29 @@ jobs: | |
# displayName: publish all.tgz | ||
|
||
- job: test_cftests_all_jdk17 | ||
timeoutInMinutes: 105 | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
container: wmdietl/cf-ubuntu-jdk17:latest | ||
steps: | ||
- checkout: self | ||
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: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git | ||
- 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 | ||
|
||
- job: test_cftests_all_jdk_latest | ||
timeoutInMinutes: 105 | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
container: wmdietl/cf-ubuntu-jdk-latest:latest | ||
steps: | ||
- checkout: self | ||
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: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git | ||
- 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 | ||
|
@@ -185,9 +179,7 @@ jobs: | |
steps: | ||
- checkout: self | ||
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: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git | ||
- 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 | ||
|
@@ -201,9 +193,7 @@ jobs: | |
steps: | ||
- checkout: self | ||
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: mkdir -p /tmp/$USER && git -C /tmp/$USER clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git | ||
- 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.