Skip to content

Commit 174c0da

Browse files
committed
Add github workflow
1 parent f79cc67 commit 174c0da

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/build_pr.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build PR
2+
on: [pull_request]
3+
jobs:
4+
build_pr:
5+
if: github.repository_owner == 'OneLiteFeatherNET'
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest, windows-latest, macos-latest]
10+
steps:
11+
- name: Checkout Repository
12+
uses: actions/checkout@v3
13+
- name: Validate Gradle Wrapper
14+
uses: gradle/wrapper-validation-action@v1
15+
- name: Setup Java
16+
uses: actions/setup-java@v3
17+
with:
18+
distribution: temurin
19+
java-version: 17
20+
- name: Build on ${{ matrix.os }}
21+
run: ./gradlew clean build

0 commit comments

Comments
 (0)