;ci: cleanups

This commit is contained in:
Simon Michael 2020-06-07 09:37:53 -07:00
parent ab2a0e476b
commit b061b9ea04
3 changed files with 10 additions and 6 deletions

View File

@ -1,14 +1,16 @@
# Thorough linux CI tests: build, test, benchmark, haddock & # Thorough linux CI tests: build, test, benchmark, haddock &
# run functional tests, with all supported GHC versions. # run functional tests, with all supported GHC versions.
# #
# Runs: periodically, on notable pull request to master, and on # Runs: periodically on master, on notable pull request to master, and
# notable push to master or ci-linux. # on notable push to ci-linux or master.
name: linux full CI name: linux full CI
on: on:
# Scheduled workflows run on the latest commit on the default or base branch. (master)
schedule: schedule:
- cron: "0 07 * * 0" # sunday midnight pacific - cron: "0 07 * * 0" # sunday midnight pacific
pull_request: pull_request:
branches: [ master ] branches: [ master ]
paths: paths:
@ -24,6 +26,7 @@ on:
- '!**.5' - '!**.5'
- '!**.info' - '!**.info'
- '!**.txt' - '!**.txt'
push: push:
branches: [ master, ci-linux ] branches: [ master, ci-linux ]
paths: paths:
@ -211,7 +214,6 @@ jobs:
ARGS: ${{ matrix.plan.args }} ARGS: ${{ matrix.plan.args }}
- name: Test haddock generation - name: Test haddock generation
shell: bash
run: | run: |
time stack $ARGS build --fast --haddock --no-haddock-deps --no-haddock-hyperlink-source --haddock-arguments="--no-print-missing-docs" time stack $ARGS build --fast --haddock --no-haddock-deps --no-haddock-hyperlink-source --haddock-arguments="--no-print-missing-docs"
# --no-haddock-hyperlink-source is 25% faster # --no-haddock-hyperlink-source is 25% faster

View File

@ -1,12 +1,13 @@
# Light Mac CI tests: build and run functional tests with one GHC version. # Light Mac CI tests: build and run functional tests with one GHC version.
# #
# Runs: periodically, and on notable push to ci-mac. # Runs: periodically on master, and on notable push to ci-mac.
name: mac CI name: mac CI
on: on:
schedule: schedule:
- cron: "0 07 * * 0" # sunday midnight pacific - cron: "0 07 * * 0" # sunday midnight pacific
push: push:
branches: [ ci-mac ] branches: [ ci-mac ]
paths: paths:

View File

@ -1,13 +1,14 @@
# Light Mac CI tests: build and run functional tests with one GHC version. # Light Windows CI tests: build and run functional tests with one GHC version.
# GHC 8.8.2 for now to avoid https://gitlab.haskell.org/ghc/ghc/issues/17926. # GHC 8.8.2 for now to avoid https://gitlab.haskell.org/ghc/ghc/issues/17926.
# #
# Runs: periodically, and on notable push to ci-windows. # Runs: periodically on master, and on notable push to ci-windows.
name: windows CI name: windows CI
on: on:
schedule: schedule:
- cron: "0 07 * * 0" # sunday midnight pacific - cron: "0 07 * * 0" # sunday midnight pacific
push: push:
branches: [ ci-windows ] branches: [ ci-windows ]
paths: paths: