Skip to content

Commit

Permalink
Updated automatic builder to include inno setup compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mas6y6 committed Dec 6, 2024
1 parent 57b95d8 commit 65066bb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/automatic_cipheros_builder.yml
Original file line number Diff line number Diff line change
@@ -27,6 +27,12 @@ jobs:
with:
python-version: '3.13'

- name: Install Inno Setup
if: runner.os == 'Windows'
run: |
choco install innosetup -y
shell: cmd

# Step 3: Install Dependencies
- name: Install Dependencies
run: |
@@ -70,6 +76,18 @@ jobs:
$EXECUTABLE --debug --startdir=. || (echo "Error: Program failed during initialization!" && exit 1)
- name: Package with Inno Setup
if: runner.os == 'Windows'
run: |
# Check architecture and run the appropriate ISS file
$arch = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "x64" } else { "x32" }
if ($arch -eq "x64") {
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" inno\installer_x64.iss
} else {
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" inno\installer_x32.iss
}
shell: pwsh

- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:

0 comments on commit 65066bb

Please sign in to comment.