Some notes to try and develop Github actions to build Horus-GUI automatically.
Windows Build
Dependencies
- mingw32
- cmake
- Python 3.11 (and pip)
Build horusdemodlib
Should now have libhorus.dll in ~/horusdemodlib/build/src/ which we need later.
Horus-GUI Build
- git clone https://github.com/projecthorus/horus-gui.git
- cd horus-gui
- pip install -r requirements.txt (Presumably we don't need a venv for this)
- pip install pyinstaller
- cp ~/horusdemodlib/build/src/libhorus.dll .
- cp /path/to/mingw/bin/libgcc_s_seh-1.dll .
- cp /path/to/mingw/bin/libwinpthread-1.dll .
- cp /path/to/mingw/bin/libstdc++-6.dll .
- pyinstaller horus-gui_win.spec
Should now have horus-gui.exe in ~/horus-gui/dist/. This needs to be zipped up and added as an artefact.
OSX Build
Dependencies (via homebrew?)
- mingw32
- cmake
- Python 3.11 (and pip)
Build horusdemodlib
Should now have libhorus.dylib in ~/horusdemodlib/build/src/ which we need later.
Horus-GUI Build
Note that the .spec file for OSX expects libhorus.dylib to exist at ~/horusdemodlib/build/src/
Should now have horus-gui.app in ~/horus-gui/dist/. This needs to be zipped up and added as an artefact.