From 662d0a3ef21a8f2141c3ec9e55170ab28757065d Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 12 Jul 2022 11:02:51 +0300 Subject: [PATCH] ci: change ci_bootstrapping_works.yml to a periodic run, *only* on the main repository. --- .github/workflows/ci_bootstrapping_works.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci_bootstrapping_works.yml b/.github/workflows/ci_bootstrapping_works.yml index 39dec25b2..ae704590a 100644 --- a/.github/workflows/ci_bootstrapping_works.yml +++ b/.github/workflows/ci_bootstrapping_works.yml @@ -1,21 +1,17 @@ name: Bootstraping works on: - push: - paths-ignore: - - "**.md" - pull_request: - paths-ignore: - - "**.md" + schedule: + - cron: '0 */6 * * *' jobs: ubuntu: - runs-on: ubuntu-20.04 - if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v' + runs-on: ubuntu-latest + if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v' timeout-minutes: 30 env: VFLAGS: -cc tcc -no-retry-compilation - B_CFLAGS: -g -std=gnu11 -w + B_CFLAGS: -g -std=c99 -w B_LFLAGS: -lm -lpthread steps: - uses: actions/checkout@v2 @@ -49,12 +45,12 @@ jobs: ./v2 -o v3 cmd/v macos: - runs-on: macos-11 - if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v' + runs-on: macos-latest + if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v' timeout-minutes: 30 env: VFLAGS: -cc clang - B_CFLAGS: -g -std=gnu11 -w + B_CFLAGS: -g -std=c99 -w B_LFLAGS: -lm -lpthread steps: - uses: actions/checkout@v2 -- 2.30.2