Skip to content

Commit 8dc2371

Browse files
authored
Create win.yml for windows CI (#4172)
1 parent 70f3a13 commit 8dc2371

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/win.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build and Test Snapshot (Windows)
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- "3.0"
7+
- "2.16"
8+
paths-ignore:
9+
- "README.md"
10+
- "release-notes/*"
11+
pull_request:
12+
branches:
13+
- master
14+
- "3.0"
15+
- "2.16"
16+
paths-ignore:
17+
- "README.md"
18+
- "release-notes/*"
19+
permissions:
20+
contents: read
21+
22+
jobs:
23+
build:
24+
runs-on: 'windows-2022'
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
java_version: ['8']
29+
env:
30+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
31+
steps:
32+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
33+
- name: Set up JDK
34+
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
35+
with:
36+
distribution: 'temurin'
37+
java-version: ${{ matrix.java_version }}
38+
cache: 'maven'
39+
- name: Build
40+
run: cmd /c "mvnw.cmd -B -ff -ntp clean verify"

0 commit comments

Comments
 (0)