2019-12-29 13:33:33 +03:00
|
|
|
name: Periodic
|
|
|
|
|
2021-06-13 20:21:27 +03:00
|
|
|
on:
|
2019-12-29 13:33:33 +03:00
|
|
|
schedule:
|
2022-05-17 19:48:37 +03:00
|
|
|
- cron: '0 */6 * * *'
|
2019-12-29 13:33:33 +03:00
|
|
|
|
2020-02-09 12:08:04 +03:00
|
|
|
jobs:
|
2020-06-09 09:49:23 +03:00
|
|
|
network-tests-ubuntu:
|
2021-01-01 16:14:03 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2022-07-12 11:03:59 +03:00
|
|
|
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
2020-11-19 11:36:30 +03:00
|
|
|
timeout-minutes: 30
|
2020-10-18 19:44:53 +03:00
|
|
|
env:
|
2022-05-17 19:48:37 +03:00
|
|
|
V_CI_PERIODIC: 1
|
2019-12-29 13:33:33 +03:00
|
|
|
steps:
|
2022-05-17 19:48:37 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies 1
|
|
|
|
run: sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev
|
|
|
|
- name: Build v
|
|
|
|
run: make
|
|
|
|
- name: Symlink V
|
|
|
|
run: sudo ./v symlink
|
|
|
|
## - name: Run network tests
|
|
|
|
## run: ./v -d network test vlib/net
|
2019-12-29 13:33:33 +03:00
|
|
|
|
|
|
|
|
|
|
|
network-tests-macos:
|
2020-11-19 11:36:30 +03:00
|
|
|
runs-on: macOS-latest
|
2022-07-12 11:03:59 +03:00
|
|
|
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
2020-11-19 11:36:30 +03:00
|
|
|
timeout-minutes: 30
|
2020-10-18 19:44:53 +03:00
|
|
|
env:
|
2022-05-17 19:48:37 +03:00
|
|
|
V_CI_PERIODIC: 1
|
2019-12-29 13:33:33 +03:00
|
|
|
steps:
|
2022-05-17 19:48:37 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup openssl library path
|
|
|
|
run: export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
|
|
|
|
- name: Build V
|
|
|
|
run: make
|
|
|
|
- name: Symlink V
|
|
|
|
run: sudo ./v symlink
|
|
|
|
- name: Ensure thirdparty/cJSON/cJSON.o is compiled, before running tests.
|
|
|
|
run: ./v examples/json.v
|
|
|
|
## - name: Run network tests
|
|
|
|
## run: ./v -d network test vlib/net
|
2019-12-29 13:33:33 +03:00
|
|
|
|
2020-01-16 20:16:11 +03:00
|
|
|
network-windows-msvc:
|
2019-12-29 13:33:33 +03:00
|
|
|
runs-on: windows-2019
|
2022-07-12 11:03:59 +03:00
|
|
|
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
2020-11-19 11:36:30 +03:00
|
|
|
timeout-minutes: 30
|
2019-12-29 13:33:33 +03:00
|
|
|
env:
|
2022-05-17 19:48:37 +03:00
|
|
|
V_CI_PERIODIC: 1
|
|
|
|
VFLAGS: -cc msvc
|
2019-12-29 13:33:33 +03:00
|
|
|
steps:
|
2022-05-17 19:48:37 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
echo %VFLAGS%
|
|
|
|
echo $VFLAGS
|
|
|
|
.\make.bat -msvc
|
|
|
|
## - name: Run network tests
|
|
|
|
## run: .\v.exe -d network test vlib/net
|