Skip to content

Update to GraalVM JDK 21.0.2 #81

Update to GraalVM JDK 21.0.2

Update to GraalVM JDK 21.0.2 #81

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- jdk_version: java17
default_image: true
- jdk_version: java20
default_image: false
- jdk_version: java21
default_image: false
timeout-minutes: 45
steps:
- uses: actions/checkout@v2
- name: Build
run: |
set -xeuo pipefail
. ./settings.sh
./bin/build.sh
docker image ls
env:
JDK_VERSION: ${{ matrix.jdk_version }}
DEFAULT_IMAGE: ${{ matrix.default_image }}
- name: Test
run: |
set -xeuo pipefail
. ./settings.sh
./bin/test-base.sh
./bin/test-native.sh
if "${BUILD_POLYGLOT}"; then
./bin/test-polyglot.sh
fi
env:
JDK_VERSION: ${{ matrix.jdk_version }}
DEFAULT_IMAGE: ${{ matrix.default_image }}
- name: Deploy
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}
run: |
set -veuo pipefail
if [ "${DOCKER_PASSWORD}" != "" ]; then
. ./settings.sh
./bin/deploy.sh
fi
env:
JDK_VERSION: ${{ matrix.jdk_version }}
DEFAULT_IMAGE: ${{ matrix.default_image }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}