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

ci: add V_CI_PERIODIC env for periodic.yml

This commit is contained in:
Delyan Angelov 2020-10-18 19:44:53 +03:00
parent d75b9c704c
commit 16ce316695

View File

@ -7,6 +7,8 @@ on:
jobs: jobs:
network-tests-ubuntu: network-tests-ubuntu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
V_CI_PERIODIC: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies
@ -16,7 +18,7 @@ jobs:
- name: Symlink V - name: Symlink V
run: sudo ./v symlink run: sudo ./v symlink
- name: Run network tests - name: Run network tests
run: ./v -d network test-fixed run: ./v -d network -silent test-fixed
network-tests-macos: network-tests-macos:
@ -24,6 +26,8 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [macOS-latest] os: [macOS-latest]
env:
V_CI_PERIODIC: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup openssl library path - name: Setup openssl library path
@ -35,12 +39,13 @@ jobs:
- name: Ensure thirdparty/cJSON/cJSON.o is compiled, before running tests. - name: Ensure thirdparty/cJSON/cJSON.o is compiled, before running tests.
run: ./v examples/json.v run: ./v examples/json.v
- name: Run network tests - name: Run network tests
run: ./v -d network test-fixed run: ./v -d network -silent test-fixed
network-windows-msvc: network-windows-msvc:
runs-on: windows-2019 runs-on: windows-2019
env: env:
V_CI_PERIODIC: 1
VFLAGS: -cc msvc VFLAGS: -cc msvc
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -50,4 +55,4 @@ jobs:
echo $VFLAGS echo $VFLAGS
.\make.bat -msvc .\make.bat -msvc
- name: Run network tests - name: Run network tests
run: .\v.exe -d network test-fixed run: .\v.exe -d network -silent test-fixed