Skip to content

Commit ee9cddc

Browse files
authored
Add ISCC compile-check CI
1 parent 1817872 commit ee9cddc

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Compile Check
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
compile:
11+
runs-on: windows-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Install Inno Setup
17+
run: choco install innosetup --no-progress --yes
18+
19+
- name: Compile ExampleSetup.iss
20+
shell: pwsh
21+
run: |
22+
$iscc = "${env:ProgramFiles(x86)}\Inno Setup 6\ISCC.exe"
23+
& $iscc /Qp ExampleSetup.iss
24+
if ($LASTEXITCODE -ne 0) {
25+
Write-Error "ISCC failed with exit code $LASTEXITCODE"
26+
exit $LASTEXITCODE
27+
}

0 commit comments

Comments
 (0)