Commit 35014727f78f5c494a745ee3b6f3192ed0457ba6

Authored by Jay Berkenbilt
1 parent deeface1

Build on a schedule and use latest versions of runners

.github/workflows/main.yml
... ... @@ -13,6 +13,12 @@ on:
13 13 - 'README*'
14 14 - 'TODO'
15 15 pull_request:
  16 + schedule:
  17 + # Building regularly with cron makes it safe for us to use
  18 + # *-latest with runs-on. If a new version of tools or agents comes
  19 + # out, we'll find out fast if our builds break on it because we
  20 + # have reliable testing.
  21 + - cron: '12 4 * * 5'
16 22 jobs:
17 23 Distfiles:
18 24 # Generate distfiles.zip, which is a prerequisite for the mac and
... ... @@ -41,7 +47,7 @@ jobs:
41 47 name: distribution
42 48 path: distribution
43 49 Windows:
44   - runs-on: windows-2019
  50 + runs-on: windows-latest
45 51 needs: Distfiles
46 52 strategy:
47 53 fail-fast: false
... ... @@ -67,7 +73,7 @@ jobs:
67 73 name: distribution
68 74 path: distribution
69 75 macOS:
70   - runs-on: macos-10.15
  76 + runs-on: macos-latest
71 77 needs: Distfiles
72 78 steps:
73 79 - uses: actions/checkout@v2
... ...
... ... @@ -3,8 +3,6 @@ Candidates for upcoming release
3 3  
4 4 * Easy build/test
5 5 * #460: potential malware in fuzzer seed corpus
6   - * Consider building workflow on a schedule to detect build rot. This
7   - should enable safe use of *-latest on runners.
8 6  
9 7 * Fuzz crashes
10 8 * See "New" below
... ... @@ -24,10 +22,6 @@ Candidates for upcoming release
24 22 * Complete migration. Do a case-insensitive search for azure to find
25 23 documentation references.
26 24  
27   - * Build qpdf weekly so we can notice if things start breaking
28   - because of changes in the build environment, library dependencies,
29   - compiler upgrades, etc.
30   -
31 25 * See if we can work in Windows Build/External Libraries (below)
32 26  
33 27 * Remember to check work `qpdf` project for private issues
... ...