windows build

This commit is contained in:
sagie gur ari 2017-12-06 19:48:06 +00:00 committed by theduke
parent 5b439f3fc1
commit 23cf596748
4 changed files with 25 additions and 9 deletions

View file

@ -1,4 +0,0 @@
[tasks.init]
condition = { channels = ["beta", "stable"] }
env = { "CARGO_MAKE_WORKSPACE_SKIP_MEMBERS" = "juniper_rocket;juniper_tests" }

View file

@ -37,9 +37,5 @@ install:
build: false
test_script:
- cd juniper && cargo build --verbose && cargo test --verbose && cd ..
- cd juniper_codegen && cargo build --verbose && cargo test --verbose && cd ..
- cd juniper_tests && cargo build --verbose && cargo test --verbose && cd ..
- cd juniper_iron && cargo build --verbose && cargo test --verbose && cd ..
- IF NOT %TARGET% == %TARGET:msvc=% ( IF %CHANNEL% == "nightly" ( cd juniper_rocket && cargo test --verbose && cargo build --verbose && cd .. ) )
- cargo make workspace-ci-flow --no-workspace

View file

@ -0,0 +1,18 @@
[tasks.build-verbose]
condition = { channels = ["nightly"] }
[tasks.build-verbose.windows]
condition = { channels = ["nightly"], env = { "TARGET" = "x86_64-pc-windows-msvc" } }
[tasks.test-verbose]
condition = { channels = ["nightly"] }
[tasks.test-verbose.windows]
condition = { channels = ["nightly"], env = { "TARGET" = "x86_64-pc-windows-msvc" } }
[tasks.ci-coverage-flow]
condition = { channels = ["nightly"] }
[tasks.ci-coverage-flow.windows]
disabled = true

View file

@ -0,0 +1,6 @@
[tasks.build-verbose]
args = ["build", "--verbose"]
[tasks.test-verbose]
args = ["test", "--verbose"]