mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 23:46:14 +00:00
* 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>
26 lines
847 B
Plaintext
Executable File
26 lines
847 B
Plaintext
Executable File
#*******************************************************************************
|
|
#
|
|
# Dockerfile to build Maiko for Linux to be used by buildRelease github action
|
|
# The output of this is intended to be a directory in the github workspace
|
|
# file system it is not intended to be a useable Docker image.
|
|
#
|
|
# Copyright 2023 by Interlisp.org
|
|
#
|
|
# Frank Halasz 2023-02-21
|
|
#
|
|
# ******************************************************************************
|
|
|
|
FROM ghcr.io/interlisp/maiko-builder
|
|
ARG INSTALL_LOCATION=/usr/local/interlisp/maiko
|
|
SHELL ["/bin/bash", "-c"]
|
|
# Copy over / clean maiko repo
|
|
COPY . ${INSTALL_LOCATION}
|
|
# Build maiko
|
|
RUN cd ${INSTALL_LOCATION}/bin \
|
|
&& ./makeright x cleanup \
|
|
&& ./makeright x
|
|
RUN cd ${INSTALL_LOCATION}/bin \
|
|
&& if [ "$(./machinetype)" = "x86_64" ]; then \
|
|
./makeright init; \
|
|
fi
|