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,6 +13,12 @@ on:
13 - 'README*' 13 - 'README*'
14 - 'TODO' 14 - 'TODO'
15 pull_request: 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 jobs: 22 jobs:
17 Distfiles: 23 Distfiles:
18 # Generate distfiles.zip, which is a prerequisite for the mac and 24 # Generate distfiles.zip, which is a prerequisite for the mac and
@@ -41,7 +47,7 @@ jobs: @@ -41,7 +47,7 @@ jobs:
41 name: distribution 47 name: distribution
42 path: distribution 48 path: distribution
43 Windows: 49 Windows:
44 - runs-on: windows-2019 50 + runs-on: windows-latest
45 needs: Distfiles 51 needs: Distfiles
46 strategy: 52 strategy:
47 fail-fast: false 53 fail-fast: false
@@ -67,7 +73,7 @@ jobs: @@ -67,7 +73,7 @@ jobs:
67 name: distribution 73 name: distribution
68 path: distribution 74 path: distribution
69 macOS: 75 macOS:
70 - runs-on: macos-10.15 76 + runs-on: macos-latest
71 needs: Distfiles 77 needs: Distfiles
72 steps: 78 steps:
73 - uses: actions/checkout@v2 79 - uses: actions/checkout@v2
@@ -3,8 +3,6 @@ Candidates for upcoming release @@ -3,8 +3,6 @@ Candidates for upcoming release
3 3
4 * Easy build/test 4 * Easy build/test
5 * #460: potential malware in fuzzer seed corpus 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 * Fuzz crashes 7 * Fuzz crashes
10 * See "New" below 8 * See "New" below
@@ -24,10 +22,6 @@ Candidates for upcoming release @@ -24,10 +22,6 @@ Candidates for upcoming release
24 * Complete migration. Do a case-insensitive search for azure to find 22 * Complete migration. Do a case-insensitive search for azure to find
25 documentation references. 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 * See if we can work in Windows Build/External Libraries (below) 25 * See if we can work in Windows Build/External Libraries (below)
32 26
33 * Remember to check work `qpdf` project for private issues 27 * Remember to check work `qpdf` project for private issues