mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-03-04 04:14:35 +01:00
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
version: 2.1
|
|
|
|
orbs:
|
|
stack-build: pbrisbin/stack-build@2.0.0
|
|
|
|
defaults: &defaults
|
|
hlint-yaml-url:
|
|
https://raw.githubusercontent.com/pbrisbin/dotfiles/master/hlint.yaml
|
|
stack-arguments: --flag yesod-auth-oauth2:example
|
|
|
|
workflows:
|
|
commit:
|
|
jobs:
|
|
- stack-build/build-test-lint:
|
|
<<: *defaults
|
|
name: "default"
|
|
- stack-build/build-test-lint:
|
|
<<: *defaults
|
|
name: "ghc-8.4.3 / lts-12.2"
|
|
stack-yaml: stack-lts-12.2.yaml
|
|
- stack-build/build-test-lint:
|
|
<<: *defaults
|
|
name: "ghc-8.6.3 / lts-13.2"
|
|
stack-yaml: stack-lts-13.2.yaml
|
|
- stack-build/build-test-lint:
|
|
<<: *defaults
|
|
name: "ghc-8.8.3 / lts-16.10"
|
|
stack-yaml: stack-lts-16.10.yaml
|
|
|
|
# nightly is broken due to persistent/persistent-template situation
|
|
# https://app.circleci.com/pipelines/github/thoughtbot/yesod-auth-oauth2/172/workflows/1b5d2999-369d-411b-837d-9ccae4f4cede/jobs/1273
|
|
|
|
# - stack-build/build-test-nightly:
|
|
# name: "nightly"
|
|
# stack-yaml: stack-nightly.yaml
|
|
|
|
# nightly:
|
|
# triggers:
|
|
# - schedule:
|
|
# cron: "0 0 * * *"
|
|
# filters:
|
|
# branches:
|
|
# only:
|
|
# - master
|
|
# jobs:
|
|
# - stack-build/build-test-nightly:
|
|
# name: "nightly"
|
|
# stack-yaml: stack-nightly.yaml
|