Skip to content

Commit

Permalink
Add intel build again
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Jessop authored and Mark Jessop committed Sep 19, 2024
1 parent c2ccbce commit a9d5033
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,61 +123,61 @@ jobs:
retention-days: 2

# Currently having issues with portaudio and these builds...
# build-osx-intel:
# runs-on: [macos-13]

# steps:

# - name: Checkout code
# uses: actions/checkout@v4

# - name: Checkout horusdemodlib
# uses: actions/checkout@v4
# with:
# repository: "projecthorus/horusdemodlib"
# ref: "master"
# path: "horusdemodlib"

# - name: Build horusdemodlib
# run: |
# cd horusdemodlib
# mkdir build
# cd build
# cmake ..
# make

# - uses: actions/setup-python@v5
# with:
# python-version: '3.11'
# cache: 'pip' # caching pip dependencies

# - name: Install Homebrew dependencies
# run: brew install portaudio
build-osx-intel:
runs-on: [macos-13]

steps:

- name: Checkout code
uses: actions/checkout@v4

- name: Checkout horusdemodlib
uses: actions/checkout@v4
with:
repository: "projecthorus/horusdemodlib"
ref: "master"
path: "horusdemodlib"

- name: Build horusdemodlib
run: |
cd horusdemodlib
mkdir build
cd build
cmake ..
make
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies

- name: Install Homebrew dependencies
run: brew install portaudio

# - name: Install pyAudio wheel
# run: pip install pyaudio
- name: Install pyAudio wheel
run: pip install pyaudio

# - name: Install other dependencies
# run: pip install -r requirements.txt
- name: Install other dependencies
run: pip install -r requirements.txt

# - name: Install pyinstaller
# run: pip install pyinstaller
- name: Install pyinstaller
run: pip install pyinstaller

# - name: Prep file locations
# shell: bash
# run: |
# mkdir -p dist
# cp horusdemodlib/build/src/libhorus.dylib .
- name: Prep file locations
shell: bash
run: |
mkdir -p dist
cp horusdemodlib/build/src/libhorus.dylib .
# - name: Run pyinstaller
# run: pyinstaller horus-gui_osx_runner.spec
- name: Run pyinstaller
run: pyinstaller horus-gui_osx_runner.spec

# - name: Create the DMG file
# run: hdiutil create -format UDZO -srcfolder dist/horus-gui.app dist/horus-gui_OSX-Intel.dmg
- name: Create the DMG file
run: hdiutil create -format UDZO -srcfolder dist/horus-gui.app dist/horus-gui_OSX-Intel.dmg

# - name: Upload Artifact
# uses: actions/upload-artifact@v4
# with:
# name: horus-gui_OSX-Intel.zip
# path: dist/horus-gui_OSX-Intel.dmg
# retention-days: 2
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: horus-gui_OSX-Intel.zip
path: dist/horus-gui_OSX-Intel.dmg
retention-days: 2

0 comments on commit a9d5033

Please sign in to comment.