JDK24-EA Tests #13
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: JDK24-EA Tests | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 11 * * *' | |
jobs: | |
test-javac: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 24-ea | |
uses: oracle-actions/setup-java@v1 | |
with: | |
website: jdk.java.net | |
release: 24 | |
version: latest | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
ivyCache | |
lib | |
key: ${{ runner.os }}-${{ hashFiles('**/ivy.xml') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- name: Build and copy lombok.patcher | |
run: | | |
cd .. | |
git clone https://github.com/projectlombok/lombok.patcher.git | |
cd lombok.patcher | |
git fetch origin pull/17/head:jdk24 | |
git switch jdk24 | |
ant dist | |
mkdir -p ../lombok/ivyCache/org.projectlombok/lombok.patcher/jars | |
cp dist/lombok.patcher.jar ../lombok/ivyCache/org.projectlombok/lombok.patcher/jars/lombok.patcher-0.52.jar | |
- name: Run tests | |
run: ant -noinput test.javacCurrent |