< prev index next >

.github/workflows/submit.yml

Print this page

 163           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
 164           path: ~/jtreg/
 165         if: steps.jtreg_restore.outcome == 'failure'
 166 
 167       - name: Checkout gtest sources
 168         uses: actions/checkout@v2
 169         with:
 170           repository: "google/googletest"
 171           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
 172           path: gtest
 173 
 174       - name: Install dependencies
 175         run: |
 176           sudo apt-get update
 177           sudo apt-get install gcc-10=10.3.0-1ubuntu1~20.04 g++-10=10.3.0-1ubuntu1~20.04 libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
 178           sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
 179 
 180       - name: Configure
 181         run: >
 182           bash configure

 183           --with-conf-name=linux-x64
 184           ${{ matrix.flags }}
 185           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
 186           --with-version-build=0
 187           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}
 188           --with-jtreg=${HOME}/jtreg
 189           --with-gtest=${GITHUB_WORKSPACE}/gtest
 190           --with-default-make-target="product-bundles test-bundles"
 191           --with-zlib=system
 192           --enable-jtreg-failure-handler
 193         working-directory: jdk
 194 
 195       - name: Build
 196         run: make CONF_NAME=linux-x64
 197         working-directory: jdk
 198 
 199       - name: Persist test bundles
 200         uses: actions/upload-artifact@v2
 201         with:
 202           name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}

 528           rm -rf ~/sysroot-${{ matrix.debian-arch }}/{dev,proc,run,sys}
 529         if: matrix.debian-arch != '' && steps.cache-sysroot.outputs.cache-hit != 'true'
 530 
 531       - name: Configure cross compiler
 532         run: |
 533           echo "CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-flavor}}-gcc-10" >> $GITHUB_ENV
 534           echo "CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-flavor}}-g++-10" >> $GITHUB_ENV
 535         if: matrix.debian-arch != ''
 536 
 537       - name: Configure cross specific flags
 538         run: >
 539           echo "cross_flags=
 540           --openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-flavor}}
 541           --with-sysroot=${HOME}/sysroot-${{ matrix.debian-arch }}/
 542           " >> $GITHUB_ENV
 543         if: matrix.debian-arch != ''
 544 
 545       - name: Configure
 546         run: >
 547           bash configure

 548           --with-conf-name=linux-${{ matrix.gnu-arch }}-hotspot
 549           ${{ matrix.flags }}
 550           ${{ env.cross_flags }}
 551           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
 552           --with-version-build=0
 553           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}
 554           --with-build-jdk=${{ env.build_jdk_root }}
 555           --with-default-make-target="hotspot"
 556           --with-zlib=system
 557         working-directory: jdk
 558 
 559       - name: Build
 560         run: make CONF_NAME=linux-${{ matrix.gnu-arch }}-hotspot
 561         working-directory: jdk
 562 
 563   linux_x86_build:
 564     name: Linux x86
 565     runs-on: "ubuntu-20.04"
 566     needs: prerequisites
 567     if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_x86 != 'false'

 627         with:
 628           repository: "google/googletest"
 629           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
 630           path: gtest
 631 
 632       # Roll in the multilib environment and its dependencies.
 633       # Some multilib libraries do not have proper inter-dependencies, so we have to
 634       # install their dependencies manually. Additionally, upgrading apt solves
 635       # the libc6 installation bugs until base image catches up, see JDK-8260460.
 636       - name: Install dependencies
 637         run: |
 638           sudo dpkg --add-architecture i386
 639           sudo apt-get update
 640           sudo apt-get install --only-upgrade apt
 641           sudo apt-get install gcc-10-multilib g++-10-multilib libfreetype6-dev:i386 libxrandr-dev:i386 libxtst-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libcups2-dev:i386 libasound2-dev:i386
 642           sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
 643 
 644       - name: Configure
 645         run: >
 646           bash configure

 647           --with-conf-name=linux-x86
 648           --with-target-bits=32
 649           ${{ matrix.flags }}
 650           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
 651           --with-version-build=0
 652           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}
 653           --with-jtreg=${HOME}/jtreg
 654           --with-gtest=${GITHUB_WORKSPACE}/gtest
 655           --with-default-make-target="product-bundles test-bundles"
 656           --with-zlib=system
 657           --enable-jtreg-failure-handler
 658         working-directory: jdk
 659 
 660       - name: Build
 661         run: make CONF_NAME=linux-x86
 662         working-directory: jdk
 663 
 664       - name: Persist test bundles
 665         uses: actions/upload-artifact@v2
 666         with:

 903           mkdir -p "$HOME\bootjdk\$env:BOOT_JDK_VERSION"
 904           & curl -L "$env:BOOT_JDK_URL" -o "$HOME/bootjdk/$env:BOOT_JDK_FILENAME"
 905           $FileHash = Get-FileHash -Algorithm SHA256 "$HOME/bootjdk/$env:BOOT_JDK_FILENAME"
 906           $FileHash.Hash -eq $env:BOOT_JDK_SHA256
 907           & tar -xf "$HOME/bootjdk/$env:BOOT_JDK_FILENAME" -C "$HOME/bootjdk/$env:BOOT_JDK_VERSION"
 908           Get-ChildItem "$HOME\bootjdk\$env:BOOT_JDK_VERSION\*\*" | Move-Item -Destination "$HOME\bootjdk\$env:BOOT_JDK_VERSION"
 909         if: steps.bootjdk.outputs.cache-hit != 'true'
 910 
 911       - name: Ensure a specific version of MSVC is installed
 912         run: >
 913           Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe' -Wait -NoNewWindow -ArgumentList
 914           'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet
 915           --add Microsoft.VisualStudio.Component.VC.14.29.arm64'
 916 
 917       - name: Configure
 918         run: >
 919           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
 920           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
 921           $env:BOOT_JDK = cygpath "$HOME/bootjdk/$env:BOOT_JDK_VERSION" ;
 922           & bash configure

 923           --with-conf-name=windows-aarch64
 924           --with-msvc-toolset-version=14.29
 925           --openjdk-target=aarch64-unknown-cygwin
 926           ${{ matrix.flags }}
 927           --with-version-opt="$env:GITHUB_ACTOR-$env:GITHUB_SHA"
 928           --with-version-build=0
 929           --with-boot-jdk="$env:BOOT_JDK"
 930           --with-default-make-target="hotspot"
 931         working-directory: jdk
 932 
 933       - name: Build
 934         run: |
 935           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
 936           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
 937           & make CONF_NAME=windows-aarch64
 938         working-directory: jdk
 939 
 940   windows_x64_build:
 941     name: Windows x64
 942     runs-on: "windows-2019"

1016         uses: actions/download-artifact@v2
1017         with:
1018           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
1019           path: ~/jtreg/
1020         if: steps.jtreg_restore.outcome == 'failure'
1021 
1022       - name: Ensure a specific version of MSVC is installed
1023         run: >
1024           Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe' -Wait -NoNewWindow -ArgumentList
1025           'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet
1026           --add Microsoft.VisualStudio.Component.VC.14.28.x86.x64'
1027 
1028       - name: Configure
1029         run: >
1030           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
1031           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
1032           $env:BOOT_JDK = cygpath "$HOME/bootjdk/$env:BOOT_JDK_VERSION" ;
1033           $env:JT_HOME = cygpath "$HOME/jtreg" ;
1034           $env:GTEST = cygpath "$env:GITHUB_WORKSPACE/gtest" ;
1035           & bash configure

1036           --with-conf-name=windows-x64
1037           --with-msvc-toolset-version=14.28
1038           ${{ matrix.flags }}
1039           --with-version-opt="$env:GITHUB_ACTOR-$env:GITHUB_SHA"
1040           --with-version-build=0
1041           --with-boot-jdk="$env:BOOT_JDK"
1042           --with-jtreg="$env:JT_HOME"
1043           --with-gtest="$env:GTEST"
1044           --with-default-make-target="product-bundles test-bundles"
1045           --enable-jtreg-failure-handler
1046         working-directory: jdk
1047 
1048       - name: Build
1049         run: |
1050           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
1051           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
1052           & make CONF_NAME=windows-x64
1053         working-directory: jdk
1054 
1055       - name: Persist test bundles

1323           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
1324           path: ~/jtreg/
1325         if: steps.jtreg_restore.outcome == 'failure'
1326 
1327       - name: Checkout gtest sources
1328         uses: actions/checkout@v2
1329         with:
1330           repository: "google/googletest"
1331           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
1332           path: gtest
1333 
1334       - name: Install dependencies
1335         run: brew install make
1336 
1337       - name: Select Xcode version
1338         run: sudo xcode-select --switch /Applications/Xcode_11.3.1.app/Contents/Developer
1339 
1340       - name: Configure
1341         run: >
1342           bash configure

1343           --with-conf-name=macos-x64
1344           ${{ matrix.flags }}
1345           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
1346           --with-version-build=0
1347           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}/Contents/Home
1348           --with-jtreg=${HOME}/jtreg
1349           --with-gtest=${GITHUB_WORKSPACE}/gtest
1350           --with-default-make-target="product-bundles test-bundles"
1351           --with-zlib=system
1352           --enable-jtreg-failure-handler
1353         working-directory: jdk
1354 
1355       - name: Build
1356         run: make CONF_NAME=macos-x64
1357         working-directory: jdk
1358 
1359       - name: Persist test bundles
1360         uses: actions/upload-artifact@v2
1361         with:
1362           name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}

1425           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
1426           path: ~/jtreg/
1427         if: steps.jtreg_restore.outcome == 'failure'
1428 
1429       - name: Checkout gtest sources
1430         uses: actions/checkout@v2
1431         with:
1432           repository: "google/googletest"
1433           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
1434           path: gtest
1435 
1436       - name: Install dependencies
1437         run: brew install make
1438 
1439       - name: Select Xcode version
1440         run: sudo xcode-select --switch /Applications/Xcode_12.4.app/Contents/Developer
1441 
1442       - name: Configure
1443         run: >
1444           bash configure

1445           --with-conf-name=macos-aarch64
1446           --openjdk-target=aarch64-apple-darwin
1447           ${{ matrix.flags }}
1448           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
1449           --with-version-build=0
1450           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}/Contents/Home
1451           --with-jtreg=${HOME}/jtreg
1452           --with-gtest=${GITHUB_WORKSPACE}/gtest
1453           --with-default-make-target="product-bundles test-bundles"
1454           --with-zlib=system
1455           --enable-jtreg-failure-handler
1456         working-directory: jdk
1457 
1458       - name: Build
1459         run: make CONF_NAME=macos-aarch64
1460         working-directory: jdk
1461 
1462       - name: Persist test bundles
1463         uses: actions/upload-artifact@v2
1464         with:

 163           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
 164           path: ~/jtreg/
 165         if: steps.jtreg_restore.outcome == 'failure'
 166 
 167       - name: Checkout gtest sources
 168         uses: actions/checkout@v2
 169         with:
 170           repository: "google/googletest"
 171           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
 172           path: gtest
 173 
 174       - name: Install dependencies
 175         run: |
 176           sudo apt-get update
 177           sudo apt-get install gcc-10=10.3.0-1ubuntu1~20.04 g++-10=10.3.0-1ubuntu1~20.04 libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
 178           sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
 179 
 180       - name: Configure
 181         run: >
 182           bash configure
 183           --with-jvm-features=-shenandoahgc,-zgc
 184           --with-conf-name=linux-x64
 185           ${{ matrix.flags }}
 186           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
 187           --with-version-build=0
 188           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}
 189           --with-jtreg=${HOME}/jtreg
 190           --with-gtest=${GITHUB_WORKSPACE}/gtest
 191           --with-default-make-target="product-bundles test-bundles"
 192           --with-zlib=system
 193           --enable-jtreg-failure-handler
 194         working-directory: jdk
 195 
 196       - name: Build
 197         run: make CONF_NAME=linux-x64
 198         working-directory: jdk
 199 
 200       - name: Persist test bundles
 201         uses: actions/upload-artifact@v2
 202         with:
 203           name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}

 529           rm -rf ~/sysroot-${{ matrix.debian-arch }}/{dev,proc,run,sys}
 530         if: matrix.debian-arch != '' && steps.cache-sysroot.outputs.cache-hit != 'true'
 531 
 532       - name: Configure cross compiler
 533         run: |
 534           echo "CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-flavor}}-gcc-10" >> $GITHUB_ENV
 535           echo "CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-flavor}}-g++-10" >> $GITHUB_ENV
 536         if: matrix.debian-arch != ''
 537 
 538       - name: Configure cross specific flags
 539         run: >
 540           echo "cross_flags=
 541           --openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-flavor}}
 542           --with-sysroot=${HOME}/sysroot-${{ matrix.debian-arch }}/
 543           " >> $GITHUB_ENV
 544         if: matrix.debian-arch != ''
 545 
 546       - name: Configure
 547         run: >
 548           bash configure
 549           --with-jvm-features=-shenandoahgc,-zgc
 550           --with-conf-name=linux-${{ matrix.gnu-arch }}-hotspot
 551           ${{ matrix.flags }}
 552           ${{ env.cross_flags }}
 553           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
 554           --with-version-build=0
 555           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}
 556           --with-build-jdk=${{ env.build_jdk_root }}
 557           --with-default-make-target="hotspot"
 558           --with-zlib=system
 559         working-directory: jdk
 560 
 561       - name: Build
 562         run: make CONF_NAME=linux-${{ matrix.gnu-arch }}-hotspot
 563         working-directory: jdk
 564 
 565   linux_x86_build:
 566     name: Linux x86
 567     runs-on: "ubuntu-20.04"
 568     needs: prerequisites
 569     if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_x86 != 'false'

 629         with:
 630           repository: "google/googletest"
 631           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
 632           path: gtest
 633 
 634       # Roll in the multilib environment and its dependencies.
 635       # Some multilib libraries do not have proper inter-dependencies, so we have to
 636       # install their dependencies manually. Additionally, upgrading apt solves
 637       # the libc6 installation bugs until base image catches up, see JDK-8260460.
 638       - name: Install dependencies
 639         run: |
 640           sudo dpkg --add-architecture i386
 641           sudo apt-get update
 642           sudo apt-get install --only-upgrade apt
 643           sudo apt-get install gcc-10-multilib g++-10-multilib libfreetype6-dev:i386 libxrandr-dev:i386 libxtst-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libcups2-dev:i386 libasound2-dev:i386
 644           sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
 645 
 646       - name: Configure
 647         run: >
 648           bash configure
 649           --with-jvm-features=-shenandoahgc,-zgc
 650           --with-conf-name=linux-x86
 651           --with-target-bits=32
 652           ${{ matrix.flags }}
 653           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
 654           --with-version-build=0
 655           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}
 656           --with-jtreg=${HOME}/jtreg
 657           --with-gtest=${GITHUB_WORKSPACE}/gtest
 658           --with-default-make-target="product-bundles test-bundles"
 659           --with-zlib=system
 660           --enable-jtreg-failure-handler
 661         working-directory: jdk
 662 
 663       - name: Build
 664         run: make CONF_NAME=linux-x86
 665         working-directory: jdk
 666 
 667       - name: Persist test bundles
 668         uses: actions/upload-artifact@v2
 669         with:

 906           mkdir -p "$HOME\bootjdk\$env:BOOT_JDK_VERSION"
 907           & curl -L "$env:BOOT_JDK_URL" -o "$HOME/bootjdk/$env:BOOT_JDK_FILENAME"
 908           $FileHash = Get-FileHash -Algorithm SHA256 "$HOME/bootjdk/$env:BOOT_JDK_FILENAME"
 909           $FileHash.Hash -eq $env:BOOT_JDK_SHA256
 910           & tar -xf "$HOME/bootjdk/$env:BOOT_JDK_FILENAME" -C "$HOME/bootjdk/$env:BOOT_JDK_VERSION"
 911           Get-ChildItem "$HOME\bootjdk\$env:BOOT_JDK_VERSION\*\*" | Move-Item -Destination "$HOME\bootjdk\$env:BOOT_JDK_VERSION"
 912         if: steps.bootjdk.outputs.cache-hit != 'true'
 913 
 914       - name: Ensure a specific version of MSVC is installed
 915         run: >
 916           Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe' -Wait -NoNewWindow -ArgumentList
 917           'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet
 918           --add Microsoft.VisualStudio.Component.VC.14.29.arm64'
 919 
 920       - name: Configure
 921         run: >
 922           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
 923           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
 924           $env:BOOT_JDK = cygpath "$HOME/bootjdk/$env:BOOT_JDK_VERSION" ;
 925           & bash configure
 926           --with-jvm-features=-shenandoahgc,-zgc
 927           --with-conf-name=windows-aarch64
 928           --with-msvc-toolset-version=14.29
 929           --openjdk-target=aarch64-unknown-cygwin
 930           ${{ matrix.flags }}
 931           --with-version-opt="$env:GITHUB_ACTOR-$env:GITHUB_SHA"
 932           --with-version-build=0
 933           --with-boot-jdk="$env:BOOT_JDK"
 934           --with-default-make-target="hotspot"
 935         working-directory: jdk
 936 
 937       - name: Build
 938         run: |
 939           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
 940           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
 941           & make CONF_NAME=windows-aarch64
 942         working-directory: jdk
 943 
 944   windows_x64_build:
 945     name: Windows x64
 946     runs-on: "windows-2019"

1020         uses: actions/download-artifact@v2
1021         with:
1022           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
1023           path: ~/jtreg/
1024         if: steps.jtreg_restore.outcome == 'failure'
1025 
1026       - name: Ensure a specific version of MSVC is installed
1027         run: >
1028           Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe' -Wait -NoNewWindow -ArgumentList
1029           'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet
1030           --add Microsoft.VisualStudio.Component.VC.14.28.x86.x64'
1031 
1032       - name: Configure
1033         run: >
1034           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
1035           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
1036           $env:BOOT_JDK = cygpath "$HOME/bootjdk/$env:BOOT_JDK_VERSION" ;
1037           $env:JT_HOME = cygpath "$HOME/jtreg" ;
1038           $env:GTEST = cygpath "$env:GITHUB_WORKSPACE/gtest" ;
1039           & bash configure
1040           --with-jvm-features=-shenandoahgc,-zgc
1041           --with-conf-name=windows-x64
1042           --with-msvc-toolset-version=14.28
1043           ${{ matrix.flags }}
1044           --with-version-opt="$env:GITHUB_ACTOR-$env:GITHUB_SHA"
1045           --with-version-build=0
1046           --with-boot-jdk="$env:BOOT_JDK"
1047           --with-jtreg="$env:JT_HOME"
1048           --with-gtest="$env:GTEST"
1049           --with-default-make-target="product-bundles test-bundles"
1050           --enable-jtreg-failure-handler
1051         working-directory: jdk
1052 
1053       - name: Build
1054         run: |
1055           $env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
1056           $env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
1057           & make CONF_NAME=windows-x64
1058         working-directory: jdk
1059 
1060       - name: Persist test bundles

1328           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
1329           path: ~/jtreg/
1330         if: steps.jtreg_restore.outcome == 'failure'
1331 
1332       - name: Checkout gtest sources
1333         uses: actions/checkout@v2
1334         with:
1335           repository: "google/googletest"
1336           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
1337           path: gtest
1338 
1339       - name: Install dependencies
1340         run: brew install make
1341 
1342       - name: Select Xcode version
1343         run: sudo xcode-select --switch /Applications/Xcode_11.3.1.app/Contents/Developer
1344 
1345       - name: Configure
1346         run: >
1347           bash configure
1348           --with-jvm-features=-shenandoahgc,-zgc
1349           --with-conf-name=macos-x64
1350           ${{ matrix.flags }}
1351           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
1352           --with-version-build=0
1353           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}/Contents/Home
1354           --with-jtreg=${HOME}/jtreg
1355           --with-gtest=${GITHUB_WORKSPACE}/gtest
1356           --with-default-make-target="product-bundles test-bundles"
1357           --with-zlib=system
1358           --enable-jtreg-failure-handler
1359         working-directory: jdk
1360 
1361       - name: Build
1362         run: make CONF_NAME=macos-x64
1363         working-directory: jdk
1364 
1365       - name: Persist test bundles
1366         uses: actions/upload-artifact@v2
1367         with:
1368           name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}

1431           name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
1432           path: ~/jtreg/
1433         if: steps.jtreg_restore.outcome == 'failure'
1434 
1435       - name: Checkout gtest sources
1436         uses: actions/checkout@v2
1437         with:
1438           repository: "google/googletest"
1439           ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
1440           path: gtest
1441 
1442       - name: Install dependencies
1443         run: brew install make
1444 
1445       - name: Select Xcode version
1446         run: sudo xcode-select --switch /Applications/Xcode_12.4.app/Contents/Developer
1447 
1448       - name: Configure
1449         run: >
1450           bash configure
1451           --with-jvm-features=-shenandoahgc,-zgc
1452           --with-conf-name=macos-aarch64
1453           --openjdk-target=aarch64-apple-darwin
1454           ${{ matrix.flags }}
1455           --with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
1456           --with-version-build=0
1457           --with-boot-jdk=${HOME}/bootjdk/${BOOT_JDK_VERSION}/Contents/Home
1458           --with-jtreg=${HOME}/jtreg
1459           --with-gtest=${GITHUB_WORKSPACE}/gtest
1460           --with-default-make-target="product-bundles test-bundles"
1461           --with-zlib=system
1462           --enable-jtreg-failure-handler
1463         working-directory: jdk
1464 
1465       - name: Build
1466         run: make CONF_NAME=macos-aarch64
1467         working-directory: jdk
1468 
1469       - name: Persist test bundles
1470         uses: actions/upload-artifact@v2
1471         with:
< prev index next >