-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple OS support (Linux/Mac OS) #11
base: master
Are you sure you want to change the base?
Conversation
Sounds great! I asked Travis's support team to enable multi OS support for this repo so we can test this new functionality. Regarding SBCL's old OSX binaries, we can compile our own and upload them somewhere (like I did for some of the other assets). I'll look at your PR more carefully once multi OS support is enabled here. Thanks! |
@@ -223,7 +251,10 @@ install_clisp() { | |||
sudo ln -s /usr/bin/clisp /usr/local/bin/clisp32 | |||
else | |||
echo "Installing CLISP..." | |||
sudo apt-get install clisp | |||
case "$TRAVIS_OS_NAME" in | |||
osx) brew install clisp ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Building CLISP takes a long time. It'd be nicer to install a precompiled version. Do you know how to create casks? I guess a simple tarball would be fine too.
So, multi OS support has been enabled for this repo. I've uploaded an updated SBCL tarball (with thread support) to the A build is here: https://travis-ci.org/luismbo/cl-travis/builds/47711973. It's nice that your changes can handle an empty TRAVIS_OS_NAME since that at least gives Semaphore CI (or other Travis competitors) a chance. I couldn't find a way to disable certain OS/LISP combinations in the |
Oh, another thing. I don't know how to cross-compile a x86 version of SBCL on OS X. Perhaps we shouldn't worry too much about that particular combination. But if you figure out how to do it, I can upload an updated tarball. |
No, I don't. And they don't even mention it in the manual page. Probably you would be better to ask them and send a feedback if they don't have it.
You can build it with |
I read the Travis CI docs a little bit more carefully and this seems to work for disabling OS/LISP combinations: 204080b Yay. The So, I think the major thing missing at this point (besides all the unsupported Lisps) is a binary version of CLISP. Oh, and documentation, I guess. :-) |
Travis CI is providing a feature for testing on multiple operating systems if we ask to enable it.
http://docs.travis-ci.com/user/multi-os/
How to try
os
option to your.travis.yml
.Limitations
This pull request is modifying
install.sh
for Mac OS environment with some limitations:$LISP
must be one ofsbcl
,sbcl32
,ccl
,abcl
,clisp
(ccl32
,allegro
,ecl
andcmucl
are not supported)I tried the multi-OS feature for Woo, but it was failed because the tests require thread-support though the binary SBCL doesn't have it.
Building from the source code or using Homebrew might be better for this.
But, anyway, I'm sending this pull request for getting your thoughts and discussing about the feature.