1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-03 23:23:03 +00:00

Create/update additional makefiles for building maiko for WSL1. Update buildRelease workflow and assicated Dockerfile to build the WSL1 variants along wih standard linux variants.

This commit is contained in:
Frank Halasz
2025-06-03 18:54:15 -07:00
parent 834a6084c3
commit 6d171bff1d
9 changed files with 159 additions and 8 deletions

View File

@@ -18,8 +18,17 @@ COPY . ${INSTALL_LOCATION}
# Build maiko
RUN cd ${INSTALL_LOCATION}/bin \
&& ./makeright x cleanup \
&& ./makeright x
RUN cd ${INSTALL_LOCATION}/bin \
&& ./makeright x \
&& if [ "$(./machinetype)" = "x86_64" ]; then \
./makeright init; \
fi
# Build specially for WSL1 by "fooling" a linux build
RUN arch="$(./machinetype)" \
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
cd ${INSTALL_LOCATION}/bin \
&& echo "echo #!/bin/sh" > osversion \
&& echo "echo wsl1" >> osversion \
&& ./makeright x cleanup \
&& ./makeright x \
&& ./makeright init; \
fi