-
Notifications
You must be signed in to change notification settings - Fork 11
Github Actions Notes
Mark Jessop edited this page Apr 1, 2024
·
3 revisions
Some notes to try and develop Github actions to build Horus-GUI automatically.
- mingw32
- cmake
- Python 3.11 (and pip)
- git clone https://github.com/projecthorus/horusdemodlib.git
- cd horusdemodlib && mkdir build && cd build
- cmake .. -G "MinGW Makefiles"
- mingw32-make
Should now have libhorus.dll in ~/horusdemodlib/build/src/ which we need later.
- 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.
- mingw32
- cmake
- Python 3.11 (and pip)
- git clone https://github.com/projecthorus/horusdemodlib.git
- cd horusdemodlib && mkdir build && cd build
- cmake ..
- make
Should now have libhorus.dylib in ~/horusdemodlib/build/src/ which we need later.
- 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
- pyinstaller horus-gui_osx.spec
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.