grin-wallet/.ci/test.yml
trevyn 5ccca2d231
Fix Windows CI cargo test silently passing (#603)
* Fix Windows CI

* move cargo clean to be consistent with node
2021-04-07 11:09:44 -04:00

14 lines
No EOL
661 B
YAML

steps:
- script: 'refreshenv && cargo test --all'
env:
LIBCLANG_PATH: C:\Program Files\LLVM\lib
LLVM_CONFIG_PATH: C:\Program Files\LLVM\bin\llvm-config
ROARING_ARCH: x86-64-v2
displayName: Windows Cargo Test
condition: and(eq( variables['Agent.OS'], 'Windows_NT' ), eq( variables['CI_JOB'], 'test-all' ))
- script: 'ROARING_ARCH=x86-64-v2 cargo test --all'
displayName: macOS Cargo Test
condition: and(eq( variables['Agent.OS'], 'Darwin' ), eq( variables['CI_JOB'], 'test-all' ))
- script: 'ROARING_ARCH=x86-64-v2 .ci/general-jobs'
displayName: Linux Cargo Test
condition: eq( variables['Agent.OS'], 'Linux' )