Skip to content

Commit

Permalink
Create win.yml for windows CI (#4172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Oct 23, 2023
1 parent 70f3a13 commit 8dc2371
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Test Snapshot (Windows)
on:
push:
branches:
- master
- "3.0"
- "2.16"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
- "3.0"
- "2.16"
paths-ignore:
- "README.md"
- "release-notes/*"
permissions:
contents: read

jobs:
build:
runs-on: 'windows-2022'
strategy:
fail-fast: false
matrix:
java_version: ['8']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Set up JDK
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Build
run: cmd /c "mvnw.cmd -B -ff -ntp clean verify"

0 comments on commit 8dc2371

Please sign in to comment.