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