Where can I find a list of 'os' and 'dist' options for Travis-CI / Multi OS Build Matrix - github

Per the Travis-CI documentation you can run tests on different operating systems and distributions amongst them.
A the time of writing, a Google search doesn't turn up a list of all the possible os and dist options. All one has to go from is the following example which provides the following under the build matrix sub heading:
There are many options available and using the matrix.include key is
essential to include any specific entries. For example, this matrix
would route builds to the Trusty beta build environment and to an OS X
image using Xcode 7.2:
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
osx_image: xcode7.2
Yet there's no guidance on what options are available for the os, dist, or osx_image keys. Does anyone know where to find these values?

If you take a look at The Build Environment, the "Virtualization environments" section contains a table listing the different operating systems Travis CI currently supports. Currently (2016-08-15) that includes:
Ubuntu 12.04 LTS Server Edition 64 bit (without sudo)
Ubuntu 12.04 LTS Server Edition 64 bit (with sudo)
OS X Mavericks
Ubuntu 14.04 LTS Server Edition 64 bit (with sudo)
As it also states, the Ubuntu 12.04 LTS Server image is the default, so you can only switch to one other Linux distribution, namely trusty. Given that the dist property only have one possible value, I guess the need to "list all possible values" is limited.
However, for OS X, the above is not the end of the story. The documentation about the OS X environment lets us know that the osx_image property can have a range of different values that will change both the version of Xcode as well as the version of OS X:
OS X 10.11
osx_image: xcode8 (Xcode 8 beta 4)
osx_image: xcode7.3 (Xcode 7.3.1)
osx_image: xcode7.2 (Xcode 7.2.1)
OS X 10.10
osx_image: xcode7.1 (Xcode 7.1.1 GM)
osx_image: xcode7 (Xcode 7)
osx_image: xcode6.4 (Xcode 6.4)
osx_image: beta-xcode6.3 (Xcode 6.3)
OS X 10.9
osx_image: beta-xcode6.2 (Xcode 6.2)
osx_image: beta-xcode6.1 (Default, Xcode 6.1)
What's interesting about this is that beta-xcode6.1 is listed as the default image for OS X, which has an ancient version of Xcode and OS X and additionally seems to be in beta (whatever that means). It might thus be a good idea to explicitly configure one or more osx_image versions in the matrix if you're going to build for OS X.
Update: As of October 2017, the default is OS X 10.11 with Xcode 7.3.1, and the latest available is OS X 10.12 with Xcode 9.

Related

Unable to load standard library for target arm64 error in XCode on Macbook Air M1

On new Mac with M1 chip get the error after the build of React Native app in XCode 12.4:
unable to load standard library for target 'arm64-apple-ios8.0'
failed to build module 'SciChart' from its module interface; the compiler that produced it, 'Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)'
What I already tried:
Reinstall XCode;
Changed Swift Language Version;
Deleted VALID_ARCHS reference according Xcode 12 Beta 2 - unable to load standard library for target 'arm64-apple-ios14.0-simulator'
On Macbook with intel chip there are no errors with the same app. And both of my Macbook have the same swift version:
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
Target: x86_64-apple-darwin20.3.0
Can you help me please!
Guys if you have old React Native projects just build it on Xcode with rosetta and you will save your nerves and time. I was looking the decision all week, but in the total it was so easy, just run Xcode with rosetta on M1: please try to open Xcode through Rosetta - Right click on Xcode in applications folder -> Get Info -> set Open with Rosetta to true

Installing MonoGame_3.0.1.mpack in XamarinStudio in Mac OS x I got this error "The Packacge 'Core v4.0' could not be found in any repository"

I'm trying to configure my development environment in my Mac with Xamarin and MonoGame but when I tried to add "MonoGame_3.0.1.mpack" in the Add-in Manager I got this error:
The Packacge 'Core v4.0' could not be found in any repository
The Packacge 'Ide v4.0' could not be found in any repository
This what I have installed on my Mac with no errors:
-Installed XamarinStudio
-Installed MonoFramework-MDK-3.8.0.macos10.xamarin.x86.pkg
-Installed MonoFramework-MRE-3.8.0.macos10.xamarin.x86.pkg
I'll really appreciate if any of you knows how can install MonoGame_3.0.1.mpack in Xamarin on Mac OS x
The issue is that that version of the template is not compatible with the version of Xamarian Studio you have installed. Until the newest version of Xamarian Studio is released for Mac, you won't be able to install that template.
However, you can download the template from here. It is compatible with the Mac OS X build version 5.5.2 of Xamarian Studio.

CUDA driver too old for Matlab GPU?

Ok,this is something am having problems with. I recently installed Matlab R2013a on a x86_64 Linux system running RHEL 5, attached to a Tesla S2050. I have never used the GPU functionality in Matlab itself (but have tried some of it using Jacket that lets one
program GPUs in Matlab).
The Tesla is working fine with all the drivers ,CUDA installed (Jacket v1.8.2 is running fine without complaints).
** Driver Version: 270.41.34 (the last version from 2011, supporting S2050) **
CUDA: v5.0.35
nvcc -V : Cuda compilation tools, release 5.0, V0.2.1221
But the Matlab r2013a complains:
gpuDevice errors:
Caused by:
The CUDA driver was found, but it is too old. The CUDA driver on your system supports CUDA version 4. The required CUDA version is 5 or greater.
Now, I understand the error that Matlab has problems with the Driver version. But, I have installed the latest CUDA toolkit and the latest driver that nVidia has to offer for the Tesla S2050 that I have.
Is there a later driver version available for this Tesla (i downloaded the latest driver & when trying to install, it simply complains that I don't have the compatible nVidia hardware).
How do I tell Matlab to consider the relevant CUDA ? (where to set PATH, CUDA_PATH etc., if any ? )
Are there any other checks i need to perform the evaluate the working of the attached Tesla ?
Thanks in advance for help.
You cannot use CUDA 5.0 with driver 270.41.34. CUDA 5 requires 304.54 or newer. This is not a MATLAB issue.
Newer drivers that support CUDA 5 will also support Tesla S2050.
For example this recent 319.17 driver lists Tesla S2050 on the supported products tab. Or use the 304.54 that comes with cuda 5.0.

Webrick loading very slowly on Mac OSX Lion

I have an old Rails 2.3.2 application that I just ported to my new Mac running OS X Lion.
When I launch the server (script/server) it prints out the following two lines
[2012-01-05 18:19:26] INFO WEBrick 1.3.1
[2012-01-05 18:19:26] INFO ruby 1.8.7 (2011-02-18) [i686-darwin9.8.0]
but then there is a very long delay before it prints out:
[2012-01-05 18:20:26] INFO WEBrick::HTTPServer#start: pid=5792 port=3000
There must be something wrong.
How can I fix this problem?
It turns out that the compiler for Lion for Ruby has changed and Developer Tools 4.2 does not include it so I had to download the fix.
From here:
If you're running a fresh copy of Lion & Xcode 4.2, you're going to need to install the GCC 4.2 dev libraries first - they aren't included in a fresh Xcode 4.2 install.
Once I recompiled my Ruby then everything worked properly.

How to compile Torque 2D with TGB Platformer Kit on Mac OS X 10.7?

I'm trying to recompile Torque-2d (or even Torque) with the TGB Platformer kit on Mac OS X 10.7 (Lion) using Xcode and it just doesn't compile. I tried following the instructions from the developer but it didn't work, it complains about some functions that are deprecated.
probably too late but the setting for it to work is:
SDK = MACOSX 10.4
compiler = GCC4.0 (will not work with 4.2, yet 4.0 is not available in newer xcode4 without hacking)
C language dialect = C99