grin/.ci/test.yml
trevyn f8afdb5faa
Fix Windows CI cargo test silently passing (#3632)
* set env in different way for windows-release.yml
2021-04-07 10:15:34 -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' )