File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,10 +57,15 @@ jobs:
5757 cache : pnpm
5858 - uses : actions/cache@v6
5959 with :
60- path : ~/.cache/java-web
60+ # the downloads build-jdk.sh keeps; boot snapshots there stay out
61+ path : |
62+ ~/.cache/java-web/jdk-*
63+ ~/.cache/java-web/dejavu-*
6164 key : jdk-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('scripts/build-jdk.sh') }}
6265 - run : pnpm install --frozen-lockfile
6366 - run : pnpm jdk
67+ # each test VM starts from the bundle, which loads faster than src/
68+ - run : pnpm build
6469 - name : OpenJDK regression tests
6570 env :
6671 FILTERS : ${{ needs.plan.outputs.filters }}
7075 dirs=$(grep -v '^#' test/jtreg/passing.txt | cut -d/ -f1-2 | sort -u | sed 's|^|test/jdk/|')
7176 git -C build/ref/jdk25u sparse-checkout set test/lib test/jdk/lib test/jdk/tools/lib $dirs
7277 read -ra filters <<< "$FILTERS"
73- node scripts/jtreg/run.ts build/ref/jdk25u --only-passing --jobs 4 --timeout 600 \
78+ node scripts/jtreg/run.ts build/ref/jdk25u --only-passing --jobs 4 --timeout 600 --vm dist/node.js \
7479 --shard ${{ matrix.shard }}/${{ strategy.job-total }} "${filters[@]}"
7580
7681 # one check for branch protection, whatever the number of shards
Original file line number Diff line number Diff line change 2727 cache : pnpm
2828 - uses : actions/cache@v6
2929 with :
30- path : ~/.cache/java-web
30+ # the downloads build-jdk.sh keeps; boot snapshots there stay out
31+ path : |
32+ ~/.cache/java-web/jdk-*
33+ ~/.cache/java-web/dejavu-*
3134 key : jdk-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('scripts/build-jdk.sh') }}
3235 - run : pnpm install --frozen-lockfile
3336 - run : pnpm jdk
You can’t perform that action at this time.
0 commit comments