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:
parent
a4e0e0fa57
commit
662d0a3ef2
20
.github/workflows/ci_bootstrapping_works.yml
vendored
20
.github/workflows/ci_bootstrapping_works.yml
vendored
@ -1,21 +1,17 @@
|
|||||||
name: Bootstraping works
|
name: Bootstraping works
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
schedule:
|
||||||
paths-ignore:
|
- cron: '0 */6 * * *'
|
||||||
- "**.md"
|
|
||||||
pull_request:
|
|
||||||
paths-ignore:
|
|
||||||
- "**.md"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu:
|
ubuntu:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
B_CFLAGS: -g -std=gnu11 -w
|
B_CFLAGS: -g -std=c99 -w
|
||||||
B_LFLAGS: -lm -lpthread
|
B_LFLAGS: -lm -lpthread
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -49,12 +45,12 @@ jobs:
|
|||||||
./v2 -o v3 cmd/v
|
./v2 -o v3 cmd/v
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-11
|
runs-on: macos-latest
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
B_CFLAGS: -g -std=gnu11 -w
|
B_CFLAGS: -g -std=c99 -w
|
||||||
B_LFLAGS: -lm -lpthread
|
B_LFLAGS: -lm -lpthread
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user