From a1985c9eb9da0d715dd256f72395f5d141fc276b Mon Sep 17 00:00:00 2001 From: Peter Squicciarini Date: Sun, 20 Sep 2020 15:28:07 -0700 Subject: [PATCH] (experiment) add cron --- .github/workflows/linux.yml | 5 ++--- .github/workflows/macos.yml | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4b2d157..0f03d7b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,6 +1,8 @@ name: linux_build on: + schedule: + - cron: '0 0 * * *' push: pull_request: branches: [ master ] @@ -78,9 +80,6 @@ jobs: export CC_host=/usr/bin/gcc export CXX_host=/usr/bin/g++ export PKG_CONFIG_LIBDIR=/usr/lib/$triplet/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig - else - sudo apt-get update - sudo apt-get install libx11-dev fi if: env.SHOULD_BUILD == 'yes' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d12e213..a05156b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,6 +1,8 @@ name: macos_build on: + schedule: + - cron: '0 0 * * *' push: pull_request: branches: [ master ]