Skip to content

Test maven download #114

Test maven download

Test maven download #114

Workflow file for this run

name: Test maven download
on:
push: { }
pull_request: { }
workflow_dispatch: { }
schedule:
- cron: '37 4 * * *'
jobs:
test-build:
strategy:
fail-fast: false
matrix:
quantlib-version:
- 1.31.0
- 1.31.1
- 1.32.0-SNAPSHOT
java-version:
- 11
- 17
os:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12
- windows-2019
- windows-2022
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: "temurin"
cache: maven
- name: Build on ${{ matrix.os }} and jdk ${{ matrix.java-version }}
id: build
shell: bash
run: |
./mvnw --batch-mode --version
./mvnw --batch-mode versions:set-property -Dproperty=quantlib.version -DnewVersion=${{ matrix.quantlib-version }}
./mvnw --batch-mode --update-snapshots clean test