Add Windows x86_64 build
@@ -58,6 +58,61 @@ task:
<<: *x86_64_TASK_TEMPLATE
before_cache_script: rm -rf $CARGO_HOME/registry/index
+task:
+ name: Windows x86_64
+ windows_container:
+ image: cirrusci/windowsservercore:cmake
+ os_version: 2019
+ env:
+ CIRRUS_SHELL: powershell
+ CARGO_HOME: $USERPROFILE\.cargo
+ PATH: $PATH;$CARGO_HOME\bin
+ install_rustup_script: "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -URI https://win.rustup.rs -OutFile rustup-init.exe; ./rustup-init.exe -y --default-toolchain nightly"
+ build_script: cargo build
+ # `*_test_script`s in order of crate dependency graph
+ liblumen_arena_test_script: |
+ pushd liblumen_arena
+ cargo test
+ if ($LastExitCode -ne 0) {
+ throw "cargo test exited $$LastExitCode"
+ }
+ popd
+ liblumen_core_test_script: |
+ pushd liblumen_core
+ cargo test
+ if ($LastExitCode -ne 0) {
+ throw "cargo test exited $$LastExitCode"
+ }
+ popd
+ liblumen_alloc_test_script: |
+ pushd liblumen_alloc
+ cargo test
+ if ($LastExitCode -ne 0) {
+ throw "cargo test exited $$LastExitCode"
+ }
+ popd
+ lumen_runtime_test_script: |
+ pushd lumen_runtime
+ cargo test
+ if ($LastExitCode -ne 0) {
+ throw "cargo test exited $$LastExitCode"
+ }
+ popd
+ liblumen_eir_interpreter_test_script: |
+ pushd liblumen_eir_interpreter
+ cargo test
+ if ($LastExitCode -ne 0) {
+ throw "cargo test exited $$LastExitCode"
+ }
+ popd
+ examples_spawn_chain_test_script: |
+ pushd examples/spawn-chain
+ cargo test
+ if ($LastExitCode -ne 0) {
+ throw "cargo test exited $$LastExitCode"
+ }
+ popd
+
task:
name: Linux wasm32
container:
