Updated github actions to add wsl1-specific builds to the releases (#2182)
Updated Build/Push Medley Release workflow to add wsl1-specific assets to the releases - based on the new wsl1-specific maiko builds. Renamed the current wsl release assets to be wsl2-speciic assets. There are now 20 assets in a release build.
This commit is contained in:
@@ -71,14 +71,17 @@ popd >/dev/null 2>/dev/null
|
|||||||
|
|
||||||
|
|
||||||
# For linux and wsl create packages for each arch
|
# For linux and wsl create packages for each arch
|
||||||
for wslp in linux wsl
|
for wslp in linux wsl2 wsl1
|
||||||
do
|
do
|
||||||
# For each arch create a deb file
|
# For each arch create a deb file
|
||||||
for arch_base in x86_64^amd64 armv7l^armhf aarch64^arm64
|
for arch_base in x86_64^amd64 armv7l^armhf aarch64^arm64
|
||||||
do
|
do
|
||||||
if [[ ${wslp} = wsl && ${arch_base} = armv7l^armhf ]];
|
if [ "${arch_base}" = armv7l^armhf ]
|
||||||
then
|
then
|
||||||
continue
|
if [ "${wslp}" = wsl1 ] || [ "${wslp}" = wsl2 ]
|
||||||
|
then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
arch=${arch_base%^*}
|
arch=${arch_base%^*}
|
||||||
debian_arch=${arch_base#*^}
|
debian_arch=${arch_base#*^}
|
||||||
@@ -99,8 +102,14 @@ do
|
|||||||
MEDLEYDIR=${il_dir#${pkg_dir}}/medley
|
MEDLEYDIR=${il_dir#${pkg_dir}}/medley
|
||||||
# Maiko and Medley files to il_dir (/usr/local/interlisp)
|
# Maiko and Medley files to il_dir (/usr/local/interlisp)
|
||||||
mkdir -p ${il_dir}
|
mkdir -p ${il_dir}
|
||||||
tar -x -z -C ${il_dir} \
|
if [ "${wslp}" = wsl1 ]
|
||||||
-f "${tarball_dir}/maiko-${maiko_release}-linux.${arch}.tgz"
|
then
|
||||||
|
tar -x -z -C ${il_dir} \
|
||||||
|
-f "${tarball_dir}/maiko-${maiko_release}-wsl1.${arch}.tgz"
|
||||||
|
else
|
||||||
|
tar -x -z -C ${il_dir} \
|
||||||
|
-f "${tarball_dir}/maiko-${maiko_release}-linux.${arch}.tgz"
|
||||||
|
fi
|
||||||
tar -x -z -C ${il_dir} \
|
tar -x -z -C ${il_dir} \
|
||||||
-f "${tarball_dir}/medley-${medley_release}-runtime.tgz"
|
-f "${tarball_dir}/medley-${medley_release}-runtime.tgz"
|
||||||
tar -x -z -C ${il_dir} \
|
tar -x -z -C ${il_dir} \
|
||||||
@@ -117,14 +126,17 @@ do
|
|||||||
sed -e "s>--MEDLEYDIR-->${MEDLEYDIR}>g" <postrm >${pkg_dir}/DEBIAN/postrm
|
sed -e "s>--MEDLEYDIR-->${MEDLEYDIR}>g" <postrm >${pkg_dir}/DEBIAN/postrm
|
||||||
chmod +x ${pkg_dir}/DEBIAN/postrm
|
chmod +x ${pkg_dir}/DEBIAN/postrm
|
||||||
# For wsl scripts, include the vncviewer.exe
|
# For wsl scripts, include the vncviewer.exe
|
||||||
if [[ ${wslp} = wsl && ${arch} = x86_64 ]];
|
if [ "${wslp}" = wsl1 ] || [ "${wslp}" = wsl2 ]
|
||||||
then
|
then
|
||||||
pushd ./tmp >/dev/null
|
if [ "${arch}" = x86_64 ]
|
||||||
rm -rf vncviewer64-1.12.0.exe
|
then
|
||||||
wget -q https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe
|
pushd ./tmp >/dev/null
|
||||||
popd >/dev/null
|
rm -rf vncviewer64-1.12.0.exe
|
||||||
mkdir -p ${il_dir}/wsl
|
wget -q https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe
|
||||||
cp -p tmp/vncviewer64-1.12.0.exe ${il_dir}/wsl/vncviewer64-1.12.0.exe
|
popd >/dev/null
|
||||||
|
mkdir -p ${il_dir}/wsl
|
||||||
|
cp -p tmp/vncviewer64-1.12.0.exe ${il_dir}/wsl/vncviewer64-1.12.0.exe
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# Make sure all files are owned by root
|
# Make sure all files are owned by root
|
||||||
|
|||||||
9
installers/deb/control-wsl2
Normal file
9
installers/deb/control-wsl2
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Package: medley-interlisp
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: --RELEASE--
|
||||||
|
Maintainer: info@interlisp.org
|
||||||
|
Description: Medley Interlisp for Linux
|
||||||
|
Homepage: https://github.com/interlisp/medley
|
||||||
|
Architecture: --ARCH--
|
||||||
|
Depends: wslu ( >= 4.1 ) | wslu ( << 4.0 ), tigervnc-standalone-server, tigervnc-xorg-extension
|
||||||
|
|
||||||
Reference in New Issue
Block a user