Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script to get roswell installed on the build box -- it works on Linux, Mac OS, and Windows
#!/usr/bin/env sh
OS_WIN=$(uname -s | grep -e MSYS_NT)
if [ -n "$OS_WIN" ]; then
ROSWELL_IN_PATH=$(echo $PATH | grep -F /tmp/roswell)
if [ -z "$ROSWELL_IN_PATH" ] ; then
echo "/tmp/roswell not found \$PATH"
exit 1
fi
curl -L "https://ci.appveyor.com/api/projects/snmsts/roswell-en89n/artifacts/Roswell-x86_64.zip?branch=master&job=Environment%3A%20MSYS2_ARCH%3Dx86_64,%20MSYS2_BITS%3D64,%20MSYSTEM%3DMINGW64,%20METHOD%3Dcross" \
--output /tmp/roswell.zip
unzip -n /tmp/roswell.zip -d /tmp/
fi
# Run roswell's CI script, and since it will find `ros` already available
# in $PATH, it would not try to build it but instead will install the specified
# CL implementation + quicklisp
curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.