Merge pull request #95 from gwenn/dependabot/maven/org.apache.maven.p… #379
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Install libsqlite3-dev | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get -q install libsqlite3-dev | |
- name: Install libsqlite3 dll | |
if: matrix.os == 'windows-latest' | |
run: vcpkg install sqlite3:x64-windows | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 8 | |
- uses: actions/checkout@v3 | |
- name: Build with Maven | |
if: matrix.os == 'ubuntu-latest' | |
run: mvn -q -B test --file pom.xml | |
- name: Build with Maven | |
if: matrix.os == 'windows-latest' | |
shell: cmd | |
run: | | |
set PATH=%PATH%;C:\vcpkg\installed\x64-windows\bin\ | |
mvn -q -B test --file pom.xml |