ci: use VJOBS=1 for the macos v test-cleancode task too; cleanup periodic.yml

Delyan Angelov 2022-05-17 19:48:37 +03:00 committed by Jef Roosens
parent 4858a113a7
commit 68569ae598
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 34 additions and 35 deletions

View File

@ -194,7 +194,7 @@ jobs:
./v cmd/tools/test_if_v_test_system_works.v ./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works ./cmd/tools/test_if_v_test_system_works
- name: All code is formatted - name: All code is formatted
run: ./v test-cleancode run: VJOBS=1 ./v test-cleancode
- name: Self tests - name: Self tests
run: VJOBS=1 ./v test-self run: VJOBS=1 ./v test-self
- name: Build examples - name: Build examples

View File

@ -2,7 +2,7 @@ name: Periodic
on: on:
schedule: schedule:
- cron: '0 */2 * * *' - cron: '0 */6 * * *'
jobs: jobs:
network-tests-ubuntu: network-tests-ubuntu:
@ -12,10 +12,10 @@ jobs:
V_CI_PERIODIC: 1 V_CI_PERIODIC: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies 1
run: sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind run: sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev
- name: Build v - name: Build v
run: make -j4 run: make
- name: Symlink V - name: Symlink V
run: sudo ./v symlink run: sudo ./v symlink
## - name: Run network tests ## - name: Run network tests
@ -32,7 +32,7 @@ jobs:
- name: Setup openssl library path - name: Setup openssl library path
run: export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/" run: export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
- name: Build V - name: Build V
run: make -j4 run: make
- name: Symlink V - name: Symlink V
run: sudo ./v symlink run: sudo ./v symlink
- name: Ensure thirdparty/cJSON/cJSON.o is compiled, before running tests. - name: Ensure thirdparty/cJSON/cJSON.o is compiled, before running tests.
@ -40,7 +40,6 @@ jobs:
## - name: Run network tests ## - name: Run network tests
## run: ./v -d network test vlib/net ## run: ./v -d network test vlib/net
network-windows-msvc: network-windows-msvc:
runs-on: windows-2019 runs-on: windows-2019
timeout-minutes: 30 timeout-minutes: 30