Interest in making builds on Github using github actions
Is there any interest for me to make github actions builds for Windows and Ubuntu Linux?
Please do
On Wed, Jul 13, 2022, 15:03 K. S. Ernest (iFire) Lee < @.***> wrote:
Is there any interest for me to make github actions builds for Windows and Ubuntu Linux?
— Reply to this email directly, view it on GitHub https://github.com/dgud/wings/issues/499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAATYKJQOHIKJXPI7YKZZCTVT25BBANCNFSM53OU3NNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
- [ ] Get on a linux computer
- [ ] Manually generate steps
- [ ] Run a github action to publish to a tag
- The Wings source files. http://www.wings3d.com
- Erlang/OTP 22.2 or later. http://www.erlang.org -- Preferably compiled against wxWidgets-3.1.3 or later.
- git or CL library at http://github.com/tonyrog/cl
- rebar3 (needed for building CL).
- A GNU compatible "make" program. Included with most unix-like systems; otherwise get it from http://www.gnu.org.
- bunzip2 for unpacking the Wings source tar file. Included with most unix-like systems; otherwise get it from http://sources.redhat.com/bzip2.
- OpenGL header files and libraries.
- OpenCL header files (optional)
- Run "make"
- build Erlang/OTP according to the instructions in the README file. git clone https://github.com/erlang/rebar3 cd rebar make cd $ERL_LIBS git clone https://github.com/tonyrog/cl.git cd cl rebar3 compile git clone https://github.com/dgud/wings.git cd wings make erl -pa <MY_WINGS_PATH>/ebin -run wings_start start_halt erl -pa /home/bjorng/wings-1.0/ebin -run wings_start start_halt
#!/bin/sh
exec erl -pa /home/bjorng/wings-1.0/ebin -run wings_start start_halt ${1+"$@"}
Building an installation package for MacOS X
To build everything and pack it into a DMG file, you'll need:
- Xcode 4.6.3 or later on Mountain Lion. $ pwd /Users/bjorng/wings_releases/wings-1.0 $ make macosx When everything is done, there should be a file named like wings-1.0-macosx.dmg in the current directory. $ export WINGS_CODE_SIGN=yes $ make macosx You will be prompted for your login keychain password if the login keychain is locked.
Building an installation package for Linux (and other Unix systems)
- makeself.sh for building the installation package (a self-extractable bzip2 archive). http://megastep.org/makeself /Users/bjorng/wings_releases/wings-1.0 $ make unix $ wings-1.0-linux.bzip2.run
See also https://github.com/dgud/wings/blob/master/.travis.yml
The travis scripts should be a good start for linux, they used to work.
For windows wsl is needed so maybe take a look at github actions scripts in erlang/otp works
Pushed Win32 and Linux builds.
No MacOS builds yet.