Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant