From 7f8133a57958a2b9302d2edbde501f33a6c48b5d Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 19 Jan 2025 03:01:22 -0500 Subject: [PATCH] ci: Windows --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fc1c55..8712625 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,15 @@ jobs: - os: ubuntu-latest java: 8 jobtype: 1 + - os: windows-latest + java: 8 + jobtype: 2 - os: ubuntu-latest java: 11 jobtype: 1 - os: ubuntu-latest java: 11 - jobtype: 2 + jobtype: 3 runs-on: ${{ matrix.os }} env: # define Java options for both official sbt and sbt-extras @@ -41,6 +44,11 @@ jobs: - name: Build and test (2) if: ${{ matrix.jobtype == 2 }} shell: bash + run: | + sbt -v -Dfile.encoding=UTF8 "jarjar/publishLocal" "+test" "publishLocal;scripted" + - name: Build and test (3) + if: ${{ matrix.jobtype == 3 }} + shell: bash run: | sbt -v -Dfile.encoding=UTF8 scalafmtCheckAll