git-subtree-dir: lib/luajit2-sys git-subtree-mainline:b42b4f01d2
git-subtree-split:6d94a4dd2c
36 lines
1 KiB
YAML
36 lines
1 KiB
YAML
steps:
|
|
- checkout: self
|
|
submodules: true
|
|
# - script: |
|
|
# call "C:\Program Files (x86)\Microsoft Visual Studio\2017\VC\Auxiliary\Build\vcvarsall.bat" x86
|
|
# displayName: Call vcvarsalls.bat x86
|
|
# condition: eq(variables['TOOLCHAIN'], 'stable-i686-pc-windows-msvc')
|
|
# - bash: pacman -Syu
|
|
# condition: eq(variables['TOOLCHAIN'], 'stable-x86_64-pc-windows-gnu')
|
|
# displayName: Update msys
|
|
# - bash: sudo apt install gcc-multilib
|
|
# condition: eq(variables['TOOLCHAIN'], 'stable-i686-unknown-linux-gnu')
|
|
# displayName: Install gcc-multilib
|
|
- bash: |
|
|
set -e -x
|
|
cargo +stable fmt --all -- --check
|
|
displayName: Check formatting
|
|
- bash: |
|
|
set -e -x
|
|
cargo test --no-run
|
|
displayName: Build everything
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
CARGO_INCREMENTAL: 0
|
|
- bash: |
|
|
set -e -x
|
|
cargo test
|
|
displayName: Run unit tests
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
CARGO_INCREMENTAL: 0
|
|
- bash: |
|
|
pwd
|
|
/usr/bin/find ./target
|
|
displayName: List files in target
|
|
condition: always()
|