Skip to content

Commit

Permalink
testing running on macos, adding inno file for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
himwho committed Jan 19, 2024
1 parent 0845a41 commit 4f1daf6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/juce_ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CMake

on:
push:
branches:
- main
- cd-test
on: [push]

env:
BUILD_TYPE: Release
Expand Down Expand Up @@ -92,10 +88,6 @@ jobs:
run: cmake --build build --config $BUILD_TYPE

- uses: akiojin/[email protected]
env:
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
MACOS_INSTALLER_CERT: ${{ secrets.MACOS_INSTALLER_CERT }}
MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}
with:
root-directory: ${{ github.workspace }}/osc_client/build/M1-OrientationOSC_artefacts/Release
bundle-path: M1-OrientationOSC.app
Expand All @@ -120,7 +112,7 @@ jobs:
if: runner.os == 'Windows'
working-directory: osc_client/build
run: |
"%programfiles(x86)%\Inno Setup 6\iscc.exe" /DBuildDir="${{runner.workspace}}\osc_client\build\m1-M1-OrientationOSC_artefacts\Release" "${{runner.workspace}}\osc_client\Resources\InnoSetup.iss"
"%programfiles(x86)%\Inno Setup 6\iscc.exe" /DBuildDir="${{github.workspace}}\osc_client\build\m1-M1-OrientationOSC_artefacts\Release" "${{github.workspace}}\osc_client\Resources\InnoSetup.iss"
shell: cmd

- name: 'OC Upload Artifact (macos)'
Expand Down
12 changes: 12 additions & 0 deletions Resources/InnoSetup.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Setup]
AppName=M1-OrientationOSC
AppVersion=1.0.0
Uninstallable=no
SourceDir="{#BuildDir}"
DefaultDirName="{pf64}\Mach1\OSC-Tool"
DefaultGroupName=M1-OrientationOSC
OutputBaseFilename=M1-OrientationOSC_WIN
[Files]
Source: "build\m1-M1-OrientationOSC_artefacts\Release\M1-OrientationOSC.exe"; DestDir: {app}; Flags: recursesubdirs
Source: "Resources\M1-OrientationManager.exe"; DestDir: {app}; Flags: recursesubdirs
Source: "Resources\settings.json"; DestDir: {app}; Flags: recursesubdirs

0 comments on commit 4f1daf6

Please sign in to comment.