Skip to content

CI: Rubinius as rbx-3.107, on Trusty #859

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

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

olleolleolle
Copy link
Contributor

@olleolleolle olleolleolle commented Mar 7, 2020

This PR tries to make Rubinius CI builds work.

Solution

Travis config for Rubinius:

(The macOS attempts failed. llvm missing c++ libraries. Libraries missing for rbx-3.107: /usr/local/opt/llvm/lib/libc++.1.dylib. Refer to your system manual for installing libraries)

Background

Our Travis file's Rubinius build config is set with rbx-3 which does not resolve in rvm to anything installable.

Compared to a 2019 working build, in Rubinius's canary repo at https://travis-ci.org/rubinius/travis-canary/builds/488215948/config

Travis has information:

@olleolleolle
Copy link
Contributor Author

olleolleolle commented Mar 7, 2020

Right, no binaries to install for this (edit: for this platform).

9.75s$ rvm use rbx-3.107 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required rbx-3.107 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm rbx-3.107 do rvm gemset create ' first, or append '--create'.
The command "rvm use rbx-3.107 --install --binary --fuzzy" failed and exited with 2 during .

@olleolleolle
Copy link
Contributor Author

olleolleolle commented Mar 7, 2020

Aha, https://docs.travis-ci.com/user/languages/ruby/#rubinius

If you’re using macOS or Trusty environments, you can also use Rubinius. To test with Rubinius, add rbx-X or rbx-X.Y.Z to your .travis.yml, where X.Y.Z specifies a Rubinius release listed on http://rubies.travis-ci.org/rubinius .

@olleolleolle
Copy link
Contributor Author

@olleolleolle olleolleolle changed the title CI: Rubinius as rbx-3.107 CI: Rubinius as rbx-3.107, on macOS Mar 7, 2020
@olleolleolle
Copy link
Contributor Author

olleolleolle commented Mar 7, 2020

Alright, new error: now the compiler can't be found.

$ rvm use rbx-3.107 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
rbx-3.107 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Found remote file http://binaries.rubini.us/osx/10.10/x86_64/rubinius-3.107.tar.bz2
rbx-3.107 - #configure
rbx-3.107 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   151    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 9867k  100 9867k    0     0  6049k      0  0:00:01  0:00:01 --:--:-- 8644k
No checksum for downloaded archive, recording checksum in user configuration.
rbx-3.107 - #validate archive
rbx-3.107 - #extract
rbx-3.107 - #validate binary
Libraries missing for rbx-3.107: /usr/local/opt/llvm/lib/libc++.1.dylib. Refer to your system manual for installing libraries
Mounting remote ruby failed with status 10, stopping installation.
Gemset '' does not exist, 'rvm rbx-3.107 do rvm gemset create ' first, or append '--create'.
The command "rvm use rbx-3.107 --install --binary --fuzzy" failed and exited with 2 during .

@olleolleolle olleolleolle changed the title CI: Rubinius as rbx-3.107, on macOS CI: Rubinius as rbx-3.107, on Trusty Mar 7, 2020
  - Compared to its canary repo at https://travis-ci.org/rubinius/travis-canary/builds/488215948/config
  - Use the name property to find the matrix member in the allow_failures section
  - Use trusty
@olleolleolle
Copy link
Contributor Author

@pitr-ch I think this is ready for review, now!

Copy link
Member

@pitr-ch pitr-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have at least something running, thanks.

@pitr-ch pitr-ch merged commit aa9295e into ruby-concurrency:master Mar 9, 2020
@olleolleolle olleolleolle deleted the rubinius-ci-config branch March 9, 2020 21:57
aried3r added a commit to aried3r/bump that referenced this pull request Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants