jobs: - job: ${{ parameters.name }} timeoutInMinutes: 120 pool: vmImage: ${{ parameters.vmImage }} strategy: matrix: GHC 8.2: ARGS: "--resolver lts-11" GHC 8.4: ARGS: "--resolver lts-12" GHC 8.6: ARGS: "--resolver lts-14" steps: - bash: | export STACK_ROOT="$(Build.SourcesDirectory)"/.stack-root; curl -sSkL http://www.stackage.org/stack/windows-x86_64 -o /usr/bin/stack.zip unzip -o /usr/bin/stack.zip -d /usr/bin/ stack $ARGS test --bench --no-run-benchmarks env: OS_NAME: ${{ parameters.os }} displayName: 'Build and test'