Skip to content

Commit c391cc1

Browse files
committed
[DXP-1821] Add Github Actions build job for Windows
1 parent c0b2c46 commit c391cc1

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/ci-test-build.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,32 @@ permissions:
1111
contents: read
1212

1313
jobs:
14-
test-build:
14+
linux-test-build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- id: 'auth'
23+
name: 'Authenticate to Google Cloud'
24+
uses: 'google-github-actions/auth@v2'
25+
with:
26+
workload_identity_provider: ${{ secrets.GCP_STREAMX_RELEASES_WORKLOAD_IDENTITY_PROVIDER }}
27+
service_account: ${{ secrets.GCP_STREAMX_RELEASES_READ_SA }}
28+
29+
- name: Set up JDK 17
30+
uses: actions/setup-java@v3
31+
with:
32+
java-version: '17'
33+
distribution: 'adopt'
34+
cache: 'maven'
35+
36+
- name: Build project
37+
run: |
38+
./mvnw clean verify -P all-tests
39+
windows-test-build:
1540
runs-on: ubuntu-latest
1641
steps:
1742
- name: Checkout

0 commit comments

Comments
 (0)