Open RP-101 opened 4 years ago
I don't have an example handy, but I think all of that should be reasonably straightforward. You can install NSIS with apt on Ubuntu (see the FAQ) or with Chocolatey on Windows (as in the appveyor config).
I'll leave this open for other people to offer advice - please do post the details if you make it work.
Great, thanks for the pointers - I'll give the Ubuntu install a go and post any successful results.
:+1:
You might also be interested in this test, which goes right through building an installer, installing it, and running the installed program. Obviously this is only meant for Windows CI:
https://github.com/takluyver/pynsist/blob/2.5/nsist/tests/test_main.py#L56
I am trying to create a GitHub action that will use Pynsist to generate an installer file for my project on my github repository. I wondered if anyone has a working example of a YAML script that can be executed using github actions to carry out the following: 1) Installs NSIS onto the GitHub runner machine (not sure if this should be done on GitHub Ubuntu or Windows). 2) Installs python 3.7. 3) Installs pynsist and the other python dependencies 4) Runs a python script which generates the installer.cfg file and then calls pynsist to execute the installer.cfg.