-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
126 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
jobs: | ||
- job: ${{ parameters.name }} | ||
timeoutInMinutes: 180 | ||
pool: | ||
vmImage: ${{ parameters.vmImage }} | ||
strategy: | ||
matrix: | ||
GHC 8.0: | ||
ARGS: "--resolver lts-9" | ||
GHC 8.2: | ||
ARGS: "--resolver lts-11" | ||
GHC 8.4: | ||
ARGS: "--resolver lts-12" | ||
GHC 8.6: | ||
ARGS: "--resolver lts-14" | ||
GHC 8.8: | ||
ARGS: "--resolver lts-15" | ||
nightly: | ||
ARGS: "--resolver nightly" | ||
maxParallel: 6 | ||
steps: | ||
- script: | | ||
export STACK_ROOT="$(Build.SourcesDirectory)"/.stack-root; | ||
export PATH=$HOME/.local/bin:$PATH | ||
mkdir -p ~/.local/bin | ||
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' | ||
stack $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps | ||
env: | ||
OS_NAME: ${{ parameters.os }} | ||
displayName: 'Build and test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
jobs: | ||
- job: ${{ parameters.name }} | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: ${{ parameters.vmImage }} | ||
strategy: | ||
matrix: | ||
GHC 8.0: | ||
ARGS: "--resolver lts-9" | ||
GHC 8.2: | ||
ARGS: "--resolver lts-11" | ||
GHC 8.4: | ||
ARGS: "--resolver lts-12" | ||
GHC 8.6: | ||
ARGS: "--resolver lts-14" | ||
GHC 8.8: | ||
ARGS: "--resolver lts-15" | ||
nightly: | ||
ARGS: "--resolver nightly" | ||
maxParallel: 3 | ||
steps: | ||
- script: | | ||
export PATH=$HOME/.local/bin:$PATH | ||
export STACK_ROOT="$(Build.SourcesDirectory)"/.stack-root; | ||
mkdir -p ~/.local/bin | ||
curl -skL https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin; | ||
stack $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps | ||
env: | ||
OS_NAME: ${{ parameters.os }} | ||
displayName: 'Build and test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This is the complex Azure configuration, which is intended for use | ||
# on open source libraries which need compatibility across multiple GHC | ||
# versions, must work with cabal-install, and should be | ||
# cross-platform. For more information and other options, see: | ||
# | ||
# https://docs.haskellstack.org/en/stable/azure_ci/ | ||
# | ||
# Copy these contents into the root directory of your Github project in a file | ||
# named azure-pipelines.yml | ||
# | ||
# For better organization, you split various jobs into seprate parts | ||
# and each of them are controlled via individual file. | ||
jobs: | ||
- template: azure-linux-template.yml | ||
parameters: | ||
name: Linux | ||
vmImage: ubuntu-18.04 | ||
os: linux | ||
|
||
- template: azure-osx-template.yml | ||
parameters: | ||
name: macOS | ||
vmImage: macOS-10.14 | ||
os: osx | ||
|
||
- template: azure-windows-template.yml | ||
parameters: | ||
name: Windows | ||
vmImage: vs2017-win2016 | ||
os: windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
jobs: | ||
- job: ${{ parameters.name }} | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: ${{ parameters.vmImage }} | ||
strategy: | ||
matrix: | ||
GHC 8.0: | ||
ARGS: "--resolver lts-9" | ||
GHC 8.2: | ||
ARGS: "--resolver lts-11" | ||
GHC 8.4: | ||
ARGS: "--resolver lts-12" | ||
GHC 8.6: | ||
ARGS: "--resolver lts-14" | ||
GHC 8.8: | ||
ARGS: "--resolver lts-15" | ||
nightly: | ||
ARGS: "--resolver nightly" | ||
maxParallel: 3 | ||
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' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.