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

master
Delyan Angelov 2022-05-17 19:48:37 +03:00
parent 4e56147223
commit dfa2d63616
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
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