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

Fix building on Windows #331

Merged
merged 1 commit into from Apr 25, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix building on Windows

  • Loading branch information
larsbergstrom committed Apr 22, 2016
commit 8c40eda79c77d63623107380ec0bef4676b3bb6a
@@ -114,13 +114,20 @@ def make_step(self, command):
logEnviron=False),
])


def make_cd_string(command):
return "cd /c/buildbot/slave/windows/build ; " + command


windows = ServoFactory([
# TODO: convert this to use DynamicServoFactory
# We need to run each command in a bash login shell, which breaks the
# heuristics used by DynamicServoFactory.make_step
steps.Compile(command=["bash", "-l", "-c", "./mach build -d -v"],
steps.Compile(command=["bash", "-l", "-c",
make_cd_string("./mach build -d -v")],
env=envs.build_windows),
steps.Compile(command=["bash", "-l", "-c", "./mach test-unit"],
steps.Compile(command=["bash", "-l", "-c",
make_cd_string("./mach test-unit")],
env=envs.build_windows),
# TODO: run lockfile_changed.sh and manifest_changed.sh scripts
])
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.