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

travis build on Windows Subsystem for Linux #176

Open
andreineculau opened this issue Jul 7, 2020 · 0 comments
Open

travis build on Windows Subsystem for Linux #176

andreineculau opened this issue Jul 7, 2020 · 0 comments

Comments

@andreineculau
Copy link
Contributor

I thought of letting you know that actually Travis runs ok on Windows, and has a working WSL setup.

See https://travis-ci.com/github/rokmoln/support-firecloud/builds/174572559
and the config here https://travis-ci.com/github/rokmoln/support-firecloud/builds/174572559

There are a few things that are noteworthy:

  • need to set language to shell
  • need to set git.autocrlf to false
  • need to create a sudoer user (homebrew cannot be installed as root)

That configuration is not full, in the sense that you also need to pipe valuable environment variables via WSLENV, similarly to https://github.com/rokmoln/support-firecloud/blob/e301176930ba43dff0b4900ec3fbb5d6a03f5f0a/repo/ci.sh/before-install.pre.inc.sh#L21-L22 except without values, just the names.

Maybe other things will still not work properly, but I thought it's already worth mentioning since you can use support-firecloud to build on Travis, on WSL, with access to a Windows environment (e.g. for building an Electron Windows binary for instance).

👋

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

No branches or pull requests

1 participant