Upgrading to javac from jdk-25b27 #11
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
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 |