mirror of
https://github.com/extism/extism.git
synced 2026-04-23 03:00:11 -04:00
Hi, We want to use Extism on our project [Otoroshi](https://github.com/MAIF/otoroshi) but we need to run it on jdk11 This pull request makes everything run smoothly on jdk11 If you have any suggestion about this pull request, i'm open to it Thanks for your time
40 lines
912 B
YAML
40 lines
912 B
YAML
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/actions/extism/**
|
|
- .github/workflows/ci-java.yml
|
|
- manifest/**
|
|
- runtime/**
|
|
- libextism/**
|
|
- java/**
|
|
workflow_dispatch:
|
|
|
|
name: Java CI
|
|
|
|
jobs:
|
|
java:
|
|
name: Java
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
rust:
|
|
- stable
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
- uses: ./.github/actions/extism
|
|
- name: Set up Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '11'
|
|
- name: Test Java
|
|
run: |
|
|
cd java
|
|
mvn --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn verify
|
|
#- name: Examine logs
|
|
# if: success() || failure()
|
|
# run: |
|
|
# cat /tmp/extism.log
|