steps: - checkout: self submodules: true - template: azure-install-rust.yml - bash: rustup target add $TARGET displayName: Install compilation target - bash: ./ci/run.sh $TARGET condition: ne( variables['Agent.OS'], 'Linux' ) displayName: Run test script - bash: cargo generate-lockfile && ./ci/run-docker.sh $TARGET condition: eq( variables['Agent.OS'], 'Linux' ) displayName: Run docker test script