mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-01-20 19:11:09 +03:00
Fix Windows CI cargo test
silently passing (#603)
* Fix Windows CI * move cargo clean to be consistent with node
This commit is contained in:
parent
5189de5a0e
commit
5ccca2d231
2 changed files with 15 additions and 22 deletions
11
.ci/test.yml
11
.ci/test.yml
|
@ -1,10 +1,9 @@
|
|||
steps:
|
||||
- script: |
|
||||
refreshenv
|
||||
LIBCLANG_PATH=C:\Program Files\LLVM\lib
|
||||
LLVM_CONFIG_PATH=C:\Program Files\LLVM\bin\llvm-config
|
||||
ROARING_ARCH=x86-64-v2
|
||||
cargo test --all
|
||||
- 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'
|
||||
|
|
|
@ -1,22 +1,16 @@
|
|||
steps:
|
||||
- script: |
|
||||
refreshenv
|
||||
LIBCLANG_PATH=C:\Program Files\LLVM\lib
|
||||
LLVM_CONFIG_PATH=C:\Program Files\LLVM\bin\llvm-config
|
||||
ROARING_ARCH=x86-64-v2
|
||||
cargo test --all
|
||||
- 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: Cargo Test All
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
|
||||
- script: 'cargo clean'
|
||||
displayName: Cargo Clean
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
|
||||
- script: |
|
||||
cargo clean
|
||||
refreshenv
|
||||
LIBCLANG_PATH=C:\Program Files\LLVM\lib
|
||||
LLVM_CONFIG_PATH=C:\Program Files\LLVM\bin\llvm-config
|
||||
ROARING_ARCH=x86-64-v2
|
||||
cargo build --release
|
||||
- script: 'refreshenv && cargo clean && cargo build --release'
|
||||
env:
|
||||
LIBCLANG_PATH: C:\Program Files\LLVM\lib
|
||||
LLVM_CONFIG_PATH: C:\Program Files\LLVM\bin\llvm-config
|
||||
ROARING_ARCH: x86-64-v2
|
||||
displayName: Build Release
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['CI_JOB'], 'release' ))
|
||||
- script: |
|
||||
|
|
Loading…
Reference in a new issue