9191            python-version : ' 3.11' 
9292            cache : ' pip'   #  caching pip dependencies
9393
94+         - name : Install Homebrew dependencies 
95+           run : brew install portaudio 
96+         
9497        - name : Install pyAudio wheel 
9598          run : pip install pyaudio 
9699
@@ -107,11 +110,74 @@ jobs:
107110            cp horusdemodlib/build/src/libhorus.dylib . 
108111
109112         - name : Run pyinstaller 
110-           run : pyinstaller horus-gui_osx.spec 
113+           run : pyinstaller horus-gui_osx_runner.spec 
114+ 
115+         - name : Create the DMG file 
116+           run : hdiutil create -format UDZO -srcfolder dist/horus-gui.app dist/horus-gui_OSX-M1.dmg 
111117
112118        - name : Upload Artifact 
113119          uses : actions/upload-artifact@v4 
114120          with :
115121            name : horus-gui_OSX-M1.zip 
116-             path : dist/horus-gui.app 
117-             retention-days : 2 
122+             path : dist/horus-gui_OSX-M1.dmg 
123+             retention-days : 2 
124+ 
125+     #  Currently having issues with portaudio and these builds...
126+     #  build-osx-intel:
127+     #      runs-on: [macos-13]
128+ 
129+     #      steps:
130+ 
131+     #      - name: Checkout code
132+     #        uses: actions/checkout@v4
133+ 
134+     #      - name: Checkout horusdemodlib
135+     #        uses: actions/checkout@v4
136+     #        with:
137+     #          repository: "projecthorus/horusdemodlib"
138+     #          ref: "master"
139+     #          path: "horusdemodlib"
140+ 
141+     #      - name: Build horusdemodlib
142+     #        run: |
143+     #          cd horusdemodlib
144+     #          mkdir build
145+     #          cd build
146+     #          cmake ..
147+     #          make
148+ 
149+     #      - uses: actions/setup-python@v5
150+     #        with:
151+     #          python-version: '3.11'
152+     #          cache: 'pip' # caching pip dependencies
153+ 
154+     #      - name: Install Homebrew dependencies
155+     #        run: brew install portaudio
156+         
157+     #      - name: Install pyAudio wheel
158+     #        run: pip install pyaudio
159+ 
160+     #      - name: Install other dependencies
161+     #        run: pip install -r requirements.txt
162+ 
163+     #      - name: Install pyinstaller
164+     #        run: pip install pyinstaller
165+ 
166+     #      - name: Prep file locations
167+     #        shell: bash
168+     #        run: |
169+     #          mkdir -p dist
170+     #          cp horusdemodlib/build/src/libhorus.dylib .
171+ 
172+     #      - name: Run pyinstaller
173+     #        run: pyinstaller horus-gui_osx_runner.spec
174+ 
175+     #      - name: Create the DMG file
176+     #        run: hdiutil create -format UDZO -srcfolder dist/horus-gui.app dist/horus-gui_OSX-Intel.dmg
177+ 
178+     #      - name: Upload Artifact
179+     #        uses: actions/upload-artifact@v4
180+     #        with:
181+     #          name: horus-gui_OSX-Intel.zip
182+     #          path: dist/horus-gui_OSX-Intel.dmg
183+     #          retention-days: 2
0 commit comments