Skip to content
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

Add macOS coverage in Travis CI #1477

Closed
veripoolbot opened this issue Jul 18, 2019 · 2 comments
Closed

Add macOS coverage in Travis CI #1477

veripoolbot opened this issue Jul 18, 2019 · 2 comments
Labels
area: portability Issue involves operating system/compiler portability area: tests Issue involves the testing system effort: days Expect this issue to require roughly days of invested effort to resolve resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


Author Name: Todd Strader (@toddstrader)
Original Redmine Issue: 1477 from https://www.veripool.org


.travis.yml has commented out lines for macOS testing. I was unable to get it to work and don't have a local macOS environment to play with.

Some notes:

MacOS will be in the cron job once uncommented. For testing purposes, I would modify the YAML so that macOS builds on pushes instead. Example:
https://travis-ci.com/toddstrader/verilator-dev/jobs/215453109/config

There is a Travis YAML linter which is marginally useful:
https://support.travis-ci.com/hc/en-us/articles/115002904174-Validating-travis-yml-files

I ran into two problems with the build before I gave up. First cpan does not work under sudo as it does in Travis Ubuntu:
https://travis-ci.com/toddstrader/verilator-dev/jobs/215453109

Travis's macOS environment is supposed to have passwordless sudo access just like its Ubuntu environment:
https://docs.travis-ci.com/user/reference/osx/#overview

And this seems to be the case because I can run "sudo cpan" without getting a password prompt. However, cpan complains about not having write permissions:

Warning: You do not have write permission for Perl library directories.

and then gives me a prompt where the answer is not "yes".

Secondly, the build fails if I skip the cpan step. I'm honestly not sure what is wrong here. config_rev.pl complains and ccache says it can't find a file but I don't know what file. That's as far as I got.
https://travis-ci.com/toddstrader/verilator-dev/builds/119283568

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-07-18T10:32:41Z


Kevin Kiningham indicated he will look at this in about a month.

@veripoolbot veripoolbot added area: portability Issue involves operating system/compiler portability area: tests Issue involves the testing system effort: days Expect this issue to require roughly days of invested effort to resolve help wanted Extra attention is needed status: assigned Issue is assigned to someone to work on labels Dec 22, 2019
@gezalore
Copy link
Member

Travis cron jobs now run a OS X build, with some limitations (most importantly FST tests are disables due to fst2vcd not out of the box working)

@gezalore gezalore added resolution: fixed Closed; fixed and removed status: assigned Issue is assigned to someone to work on help wanted Extra attention is needed labels Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: portability Issue involves operating system/compiler portability area: tests Issue involves the testing system effort: days Expect this issue to require roughly days of invested effort to resolve resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants