Skip to content

Commit

Permalink
build: created simple build for Github CI
Browse files Browse the repository at this point in the history
Refs: #1
  • Loading branch information
nergal-perm committed May 4, 2024
1 parent d2cabeb commit b247f39
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: mvn
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
mvn:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2022, macos-12]
java: [17]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: java -version
- run: mvn -version
- run: mvn --errors --batch-mode clean install -Pqulice

0 comments on commit b247f39

Please sign in to comment.