Skip to content

CI: added GraalVM version to test matrix #9

CI: added GraalVM version to test matrix

CI: added GraalVM version to test matrix #9

Workflow file for this run

name: Native CI
on: push
jobs:
verify:
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shaded:
- 'true'
- 'false'
graalvm:
- '21.0.2'
- '22.0.1'
steps:
- uses: actions/checkout@v2
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{matrix.graalvm}}
distribution: 'graalvm-community'
cache: 'maven'
native-image-job-reports: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Info
run: mvn -version
- name: Deps tree
run: mvn dependency:tree -Dshaded=${{matrix.shaded}}
- name: Start Database
run: ./docker/start_db.sh
env:
SSL: true
- name: test
run: mvn test
- name: package-native
run: mvn -Pnative-image -Dshaded=${{matrix.shaded}} package
- name: start-native
run: ./target/arango-helidon-native-example &
- name: wait
run: sleep 1
- name: test-version
run: curl -v --fail http://localhost:8080/version