ci: mac, windows: don't short circuit, update docs
This commit is contained in:
parent
8a8503064b
commit
9888bf043c
14
.github/workflows/mac.yml
vendored
14
.github/workflows/mac.yml
vendored
@ -1,8 +1,6 @@
|
|||||||
# Runs on any push to ci-mac, and weekly on master.
|
# Runs on any push to ci-mac, and weekly on master.
|
||||||
|
# Produces optimised mac binaries and runs unit/doc/functional tests,
|
||||||
# Builds all modules optimised and runs unit/doc/functional tests on mac,
|
# using the GHC version below.
|
||||||
# using GHC 8.6,
|
|
||||||
# and uploads a binaries artifact.
|
|
||||||
|
|
||||||
name: mac CI binaries
|
name: mac CI binaries
|
||||||
|
|
||||||
@ -52,14 +50,6 @@ jobs:
|
|||||||
|| ( echo "could not identify commits, not checking them" )
|
|| ( echo "could not identify commits, not checking them" )
|
||||||
# || ( echo "could not identify commits, checking last $NUM instead:"; tools/commitlint -$NUM )
|
# || ( echo "could not identify commits, checking last $NUM instead:"; tools/commitlint -$NUM )
|
||||||
|
|
||||||
- name: Skip remaining CI steps if latest commit message begins with ;
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog"
|
|
||||||
(git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \
|
|
||||||
&& (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) \
|
|
||||||
|| ( echo "could not identify commit range, continuing CI steps"; echo "CONTINUE=true" >> $GITHUB_ENV )
|
|
||||||
|
|
||||||
# things to be cached/restored:
|
# things to be cached/restored:
|
||||||
|
|
||||||
- name: Cache stack global package db
|
- name: Cache stack global package db
|
||||||
|
|||||||
14
.github/workflows/windows.yml
vendored
14
.github/workflows/windows.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
# Runs on any push to ci-windows, and weekly on master.
|
# Runs on any push to ci-windows, and weekly on master.
|
||||||
|
# Produces optimised windows binaries,
|
||||||
# Builds all modules optimised on windows,
|
# using the default GHC version in stack.yaml.
|
||||||
# and uploads a binaries artifact.
|
# Currently runs no tests.
|
||||||
|
|
||||||
name: windows CI binaries
|
name: windows CI binaries
|
||||||
|
|
||||||
@ -45,14 +45,6 @@ jobs:
|
|||||||
|| ( echo "could not identify commits, not checking them" )
|
|| ( echo "could not identify commits, not checking them" )
|
||||||
# || ( echo "could not identify commits, checking last $NUM instead:"; tools/commitlint -$NUM )
|
# || ( echo "could not identify commits, checking last $NUM instead:"; tools/commitlint -$NUM )
|
||||||
|
|
||||||
- name: Skip remaining CI steps if latest commit message begins with ;
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog"
|
|
||||||
(git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \
|
|
||||||
&& (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) \
|
|
||||||
|| ( echo "could not identify commit range, continuing CI steps"; echo "CONTINUE=true" >> $GITHUB_ENV )
|
|
||||||
|
|
||||||
# things to be cached/restored:
|
# things to be cached/restored:
|
||||||
|
|
||||||
- name: Cache stack global package db
|
- name: Cache stack global package db
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user