forked from adoptium/aqa-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (58 loc) · 1.96 KB
/
directoriesFilesChangePR.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: 'Directories/Files Change Test PR'
on:
workflow_dispatch:
paths-ignore:
- '.gitignore'
- '*.md'
- 'doc/**'
- '.github/ISSUE_TEMPLATE/**'
- '.github/*.yml'
- 'buildenv/**'
jobs:
getBuildLists:
runs-on: ubuntu-latest
outputs:
buildLists: ${{ steps.locations_parse.outputs.build_lists }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: jitterbit/get-changed-files@v1
id: get_change
continue-on-error: true
with:
format: space-delimited
token: ${{ secrets.GITHUB_TOKEN }}
- name: parse locations
id: locations_parse
run: |
python3 ./.github/workflows/getBuildLists.py ${{ steps.get_change.outputs.all }}
testChangeBasedBuildListWithHotspotAndOpenj9:
runs-on: ${{ matrix.os }}
needs: getBuildLists
if: ${{!contains( fromJson(needs.getBuildLists.outputs.buildLists), 'skip')}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [8, 17]
build_list: ${{ fromJson(needs.getBuildLists.outputs.buildLists) }}
impl: [hotspot, openj9]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: AdoptOpenJDK/install-jdk@v1
with:
version: ${{ matrix.version }}
source: 'nightly'
impl: ${{ matrix.impl }}
- name: AQA
uses: adoptium/run-aqa@v2
with:
build_list: ${{ matrix.build_list }}
target: '_sanity.regular'
jdksource: 'install-jdk'
version: ${{ matrix.version }}
openjdk_testRepo: '${{ github.event.pull_request.head.repo.full_name }}:${{ github.head_ref }}'
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: failure()
with:
name: output_changed_based_build_list
path: ./**/output_*/