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

travis build on Windows Subsystem for Linux #176

@andreineculau

Description

@andreineculau

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).

👋

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions