Skip to content

Upgrading to jdk-21u. #154

Upgrading to jdk-21u.

Upgrading to jdk-21u. #154

Workflow file for this run

name: CI
#
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push]
# push:
# branches: [ master ]
jobs:
linux:
name: "Backported nb-javac"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Record JDK8
run: echo "$JAVA_HOME" | tee jdk8
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 17.0.0
- name: Record JDK17
run: echo "$JAVA_HOME" | tee jdk17
- name: Build on JDK17
run: ant -f make/langtools/netbeans/nb-javac jar
- name: Test on JDK8
run: JAVA_HOME=`cat jdk8` ant -f make/langtools/netbeans/nb-javac test
- name: Test on JDK17
run: ant -f make/langtools/netbeans/nb-javac test
- name: Build patched JDK17
run: ./build-jdk.sh