1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: change ci_bootstrapping_works.yml to a periodic run, *only* on the main repository.

This commit is contained in:
Delyan Angelov 2022-07-12 11:02:51 +03:00
parent a4e0e0fa57
commit 662d0a3ef2
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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