-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (47 loc) · 1.33 KB
/
Copy pathci.yml
File metadata and controls
57 lines (47 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-test:
name: Build & Test MSI Packages
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Install WiX Toolset v4
shell: pwsh
run: |
dotnet tool install --global wix --version 4.0.6
wix extension add --global WixToolset.Util.wixext/4.0.6
"$HOME/.dotnet/tools" | Out-File -FilePath $env:GITHUB_PATH -Append -Encoding utf8
wix --version
- name: Build Standalone MSIs (x64 & arm64)
shell: pwsh
run: |
.\packages\msi\build-msi.ps1 -Arch all
- name: Run Integration Test Suite (x64)
shell: pwsh
run: |
.\packages\msi\test-msi.ps1
- name: Verify Chocolatey Package Build
shell: pwsh
run: |
.\packages\choco\build-choco.ps1
- name: Upload CI Artifacts
uses: actions/upload-artifact@v4
with:
name: msi-packages-ci
path: packages/msi/jvm-windows-*.msi
if-no-files-found: error