@@ -1,27 +1,36 @@
11name: CI tests
22
3−on: [push, pull_request]
4−# paths:
5−# - '*'
6−# - '.github/workflows/haskell.yml'
7−# - '!MANUAL.txt'
8−# - '!/doc/*'
9−# - '!/tools/*'
10−# - '!/linux/*'
11−# - '!/macos/*'
12−# - '!/windows/*'
13−# - '!/man/*'
14−# - '!AUTHORS.md'
15−# - '!BUGS'
16−# - '!CONTRIBUTING.md'
17−# - '!README.md'
18−# - '!INSTALL.md'
19−# - '!COPYRIGHT'
20−# - '!COPYING.md'
21−# - '!README.template'
22−# - '!RELEASE_CHECKLIST'
23−# - '!appveyor.yml'
24−# - '!changelog'
3+on:
4+ push:
5+ paths-ignore:
6+ - 'doc/**'
7+ - 'MANUAL.txt'
8+ - '*.md'
9+ - 'RELEASE_CHECKLIST'
10+ - 'BUGS'
11+ - 'changelog'
12+ - 'README.template'
13+ - 'appveyor.yml'
14+ - 'tools/**'
15+ - 'linux/**'
16+ - 'macos/**'
17+ - 'windows/**'
18+ - 'man/**'
19+ pull_request:
20+ paths_ignore:
21+ - 'doc/**'
22+ - 'MANUAL.txt'
23+ - '*.md'
24+ - 'RELEASE_CHECKLIST'
25+ - 'BUGS'
26+ - 'changelog'
27+ - 'README.template'
28+ - 'appveyor.yml'
29+ - 'tools/**'
30+ - 'linux/**'
31+ - 'macos/**'
32+ - 'windows/**'
33+ - 'man/**'
2534
2635jobs:
2736 linux:
@@ -60,21 +69,6 @@ jobs:
6069 # fail if warnings in local build
6170 ! grep -q "[Ww]arning:" build.log
6271
63−# ARTIFACTS: Currently disabled. The executables are large and
64−# if we do produce artifacts, we should zip them. We also
65−# might consider doing this only nightly and stripping.
66−# The code is included below in case we want to re-enable it.
67−#
68−# - name: Install artifact
69−# run: |
70−# export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
71−# mkdir -p ./artifacts
72−# for f in $(find dist-newstyle -name 'pandoc*' -type f -executable); do cp $f ./artifacts/; done
73−# - uses: actions/upload-artifact@master
74−# with:
75−# name: pandoc-linux
76−# path: ./artifacts/pandoc
77−
7872 windows:
7973
8074 runs-on: windows-latest