From 07ae0723f8a7e16d78fef514375cc764f3beb43a Mon Sep 17 00:00:00 2001 From: Jing Zhang Date: Wed, 30 Nov 2022 17:16:02 -0800 Subject: [PATCH] windows ci build Signed-off-by: Jing Zhang --- .github/workflows/CI-workflow.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/CI-workflow.yml b/.github/workflows/CI-workflow.yml index 0b29933d73..6396829073 100644 --- a/.github/workflows/CI-workflow.yml +++ b/.github/workflows/CI-workflow.yml @@ -78,3 +78,27 @@ jobs: with: file: ./build/reports/jacoco/test/jacocoTestReport.xml flags: plugin + + Build-ml-windows: + strategy: + matrix: + java: [8, 11, 14] + name: Build and Test MLCommons Plugin on Windows + runs-on: windows-latest + + steps: + - name: Setup Java ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + + # ml-commons + - name: Checkout MLCommons + uses: actions/checkout@v2 + + - name: Build and Run Tests + run: | + ./gradlew.bat build + - name: Publish to Maven Local + run: | + ./gradlew publishToMavenLocal