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

54 lines
1.3 KiB
YAML
Raw Normal View History

name: Periodic
on:
schedule:
- cron: '31 1,12 * * *'
2020-02-09 12:08:04 +03:00
jobs:
network-tests-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev
- name: Build v
run: make -j4 && ./v -cg -o v cmd/v
- name: Symlink V
run: sudo ./v symlink
- name: Run network tests
run: ./v -d network test-fixed
network-tests-macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest]
steps:
- 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 -j4
- 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-fixed
2020-01-16 20:16:11 +03:00
network-windows-msvc:
runs-on: windows-2019
env:
VFLAGS: -cc msvc
steps:
- uses: actions/checkout@v2
- name: Build
run: |
echo %VFLAGS%
echo $VFLAGS
.\make.bat -msvc
- name: Run network tests
run: .\v.exe -d network test-fixed