mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 03:51:32 +00:00
Add cygwin-sdl build to buildRelease workflow (#476)
* Start cygwin-sdl builds: first pass at buildCygwinBuilderImage workflow. Add makefile-cygwin.x86_64-sdl. * WIP Dockerfile_cygwin_builder * First pass of complete cygwin-sdl build workflow * Fix indent error in buildCygwinBuilderImage.yml * fix incorrect use of github token in buildCygwinBuilderImage.yml * fix incorrect use of --build-arg in buildCygwinBuilderImage. * fix incorrect docker build statement in buildCygwinBuilderImage. * make docker tag lowercase since apparently Wiondows docker doesn't like uppercase tags in buildCygwinBuilderImage. * fix quotiing on last commit in buildCygwinBuilderImage. * fix download output location for SDL2 in buildCygwinBuilderImage. * Add windows/cygwin build to buildRelease workflow * Fix typos in buildRelease workflow * Fix more typos in buildRelease workflow * Debugging per-system if statements buildRelease workflow * Debugging per-system if statements buildRelease workflow #2 * Debugging per-system if statements buildRelease workflow #3 * Fix checkout actions step to use powershell-sims not bash-isms in Windows job * Fix Docker_env step to use powershell-isms not bash-isms in Windows job * Fix Docker_env step to use powershell-isms not bash-isms in Windows job #2 * Fix Docker_env step to use powershell-isms not bash-isms in Windows job #3 * Revamp cygwin build to use docker build instead of docker buildxx because buildx seems to not like windows containers * Fix some line split nonsense * Fix typo in last commit * Add proper repo info to Dockerfile_cygwin_maiko * More debugging * Revamp how cygwin-sdl is built - now build directly on runner and not via a Dcokerfile and docker. * Fix typo * Fix retrieve of sdl2 * Fix set up release tag action to ake account of the fact that Maiko has been checked out to cygwin\maiko instead of top level workspace * Fix set up release tag action to ake account of the fact that Maiko has been checked out to cygwin\maiko instead of top level workspace #2 * Fix set up release tag action to ake account of the fact that Maiko has been checked out to cygwin\maiko instead of top level workspace #3 * Cleanup build maiko step * Prevent git from messing uo line endings on checkout * Fix copy of cygwin.x86_64 dir to relesase tars * Set execute bit of (almost) all files in release tar; rearrange build step to use cyugwin bash as the shell * Fix rearrange build step to use cyugwin bash as the shell * Try a different way of rearrange build step to use cyugwin bash as the shell * Fix typo * When cygwin bash as shell did not work; reverting to brute-force way * Hopefully fix release push not getting tar file * Cygwin-sdl build working; remove debugging code * Remove wrokflow files associated with abandoned attempts at building cygwin via docker --------- Co-authored-by: Frank Halasz <fghalasz@interlisp.org>
This commit is contained in:
20
bin/makefile-cygwin.x86_64-sdl
Normal file
20
bin/makefile-cygwin.x86_64-sdl
Normal file
@@ -0,0 +1,20 @@
|
||||
# Options for Linux, Intel x86_64 and X-Window
|
||||
|
||||
CC = gcc -m64 $(GCC_CFLAGS) -I/usr/local/include
|
||||
#CC = clang -m64 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)sdl.o
|
||||
|
||||
XFLAGS = -DSDL
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -lm -L/usr/local/lib -lSDL2
|
||||
#
|
||||
LDELDFLAGS =
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl
|
||||
Reference in New Issue
Block a user