Java 23.0.1 #29
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: IT | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
it: | |
runs-on: ubuntu-latest | |
container: ubuntu:22.04 | |
services: | |
lila: | |
image: ghcr.io/lichess-org/lila-docker:main | |
options: --restart=always | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
path: chariot | |
- name: Install curl | |
run: apt-get update && apt-get install -y curl | |
- name: Download OpenJDK 23 | |
run: | | |
download_url="https://download.java.net/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_linux-x64_bin.tar.gz" | |
curl -Lo $RUNNER_TEMP/java_package.tar.gz $download_url | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'jdkfile' | |
jdkFile: ${{ runner.temp }}/java_package.tar.gz | |
java-version: '23' | |
architecture: x64 | |
- name: Check java version | |
run: java -Xinternalversion | |
- name: Run integration tests | |
run: cd chariot && java build/Build.java | |
env: | |
LILA_API: http://lila:9663 | |
IT_LONG: y | |
CLEANUP: y |