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

573 Commits

Author SHA1 Message Date
Delyan Angelov
4f2fe50b9b
ci: disable running gitly for now (timeouts because of shared deadlock since 91ade5b) 2021-08-06 17:31:55 +03:00
Louis Schmieder
a4358a6801
orm: fix unique fields (#11045) 2021-08-06 06:21:59 +03:00
Delyan Angelov
c13ba6d4b6
ci: fix ci.yml syntax 2021-08-03 18:55:23 +03:00
Alexander Medvednikov
80976e640c vweb: remove init_server() from all examples, tutorials, and tests 2021-08-03 16:03:16 +03:00
Alexander Medvednikov
f879b3e221 ci: run gitly 2021-08-03 15:41:52 +03:00
Delyan Angelov
456a19f6d4
ci: fix coutput_test.v on windows 2021-07-31 13:16:33 +03:00
Delyan Angelov
2158597831
ci: ignore changes in .md files for the vinix-build job 2021-07-31 06:33:32 +03:00
Delyan Angelov
6674d65397
ci: describe more precisely for which modules the sanitised jobs will run 2021-07-30 11:37:19 +03:00
Delyan Angelov
ab6ab519e6
ci: only run sanitized jobs on changes to the compiler itself (vlib/v/) 2021-07-30 11:11:09 +03:00
Delyan Angelov
c7ecb18f52
ci: bump timeout-minutes from 60 minutes to 121 minutes for normal 'fast' jobs 2021-07-29 18:04:02 +03:00
Delyan Angelov
0b46d62199
ci: bump timeout-minutes for the sanitize jobs to 180 2021-07-29 16:29:53 +03:00
Delyan Angelov
066dd023d2
Revert "Revert "ci: minor optimization in the cancel workflow (#10978)""
This reverts commit 7704685458.

The real reason is not that PR, but just github being flaky lately :-| .
2021-07-29 09:28:42 +03:00
Delyan Angelov
7704685458
Revert "ci: minor optimization in the cancel workflow (#10978)"
This reverts commit 61ed1d810f.

Reason: queued fast jobs for all CI runs on merged commits on master
after that PR.
https://cdn.discordapp.com/attachments/722442086984450159/870022126663520276/unknown.png
2021-07-28 22:19:14 +03:00
spaceface
61ed1d810f
ci: minor optimization in the cancel workflow (#10978)
before this we scheduled two additional workflows, one for each workflow.
This PR now schedules just one, which cancels both workflows by itself.
2021-07-27 21:49:18 +03:00
spaceface
b173e55be5
ci: auto-cancel previous workflows when a new commit is pushed (part 2) (#10970) 2021-07-26 15:55:09 +03:00
Delyan Angelov
b666482d84
ci: fix the vinix-build job 2021-07-26 08:50:05 +03:00
Delyan Angelov
063ffe36d9
ci: use ../mlibc-headers/include in vinix-kernel.yml 2021-07-26 01:34:56 +03:00
mint
b69a31008b
ci: add a workflow to test if the Vinix kernel builds (#10963) 2021-07-26 01:34:35 +03:00
Delyan Angelov
8e47d27cb9
Revert "ci: auto-cancel previous workflows when a new commit is pushed (#10962)"
Unfortunately #10962 made PR runs, cancel runs on commits pushed
to master too, leading to false positives for failed CI runs :-| .

See https://github.com/vlang/v/commits/master?after=db5e0f21171c05fff3492754eb7aa09b8783c3f1+0&branch=master

This reverts commit 6d6b08ba2a.
2021-07-25 23:50:27 +03:00
Larpon
ee2e81742b
ci: fix vab tests (#10961) 2021-07-25 21:29:00 +03:00
spaceface
6d6b08ba2a
ci: auto-cancel previous workflows when a new commit is pushed (#10962) 2021-07-25 21:28:22 +03:00
Delyan Angelov
f48f6239ff
ci: comment out the Build graphical V examples as APK step temporarily, till vab works again on github actions 2021-07-21 12:59:04 +03:00
Uwe Krüger
f457b94fe4
cgen: properly support reference args in receivers and arithmetic op methods (#10873) 2021-07-20 15:08:32 +03:00
Alexander Medvednikov
85658bc700 ci: do not run cmd/tools/fast for now 2021-07-20 15:05:36 +03:00
Alexander Medvednikov
b9d418f46a ci: build cmd/tools/fast 2021-07-20 13:06:59 +03:00
Delyan Angelov
677ef7bb08
ci: fix module_docs.yml (at the cost of 1 yamllint error :-| ) 2021-07-19 18:07:42 +03:00
Delyan Angelov
dbba46b349
ci: fix yamllint warnings/errors 2021-07-19 13:26:43 +03:00
Delyan Angelov
b10be83c7e
ci: update docs_ci.yml, gen_vc.yml and module_docs.yml to use more modern runners 2021-07-19 13:26:42 +03:00
Delyan Angelov
11a7899690
ci: bump timeout-minutes to 60 2021-07-17 23:49:58 +03:00
Delyan Angelov
19642a1182
ci: use apt-get update consistently 2021-07-14 09:22:32 +03:00
Delyan Angelov
c4e962bd9f
ci: try to bump timeout-minutes to 120 2021-07-14 09:22:31 +03:00
Delyan Angelov
2d7d5e1501
ci: add an apt-get install libsodium-dev step for v-apps-compile 2021-07-13 22:46:33 +03:00
Delyan Angelov
5589c18b6b
ci: add a step to test libsodium 2021-07-13 19:39:36 +03:00
Delyan Angelov
4169602a46
github: use --depth=1 in gen_vc.yml 2021-07-06 14:17:23 +03:00
Tomas Hellström
ec973f5c6e
x.websocket: move to net.websocket module (#10648) 2021-07-03 02:56:00 +03:00
Delyan Angelov
e2f7fd16c2
ci: bump up repeat limits temporarily till V speeds up again 2021-06-24 18:05:53 +03:00
Alexander Medvednikov
1469b47f7d vweb: free app object for each request 2021-06-24 01:37:06 +03:00
Uwe Krüger
f3408a2484
gc: use optimized mode by default (#10466) 2021-06-15 15:43:00 +03:00
Delyan Angelov
46148760cc
ci: fix v-apps-compile by adding a 'Clone tree-sitter-v' task too 2021-06-14 14:50:33 +03:00
Delyan Angelov
adae5b9afd
ci: use sudo ./v symlink in v-apps-compile job 2021-06-14 13:13:32 +03:00
Delyan Angelov
23f28f9336
ci: fix v-apps-compile job 2021-06-14 13:00:10 +03:00
Alexander Medvednikov
fa9fa77a5f ci: fix vls test 2021-06-13 23:50:54 +03:00
Delyan Angelov
e2822356c2
periodic.yml: comment the 'Run network tests' tasks for now 2021-06-13 20:22:57 +03:00
Delyan Angelov
fc0095863f
Revert "ci: add on: [workflow_dispatch] tag inside .github/workflows/periodic.yml"
This reverts commit 9d6b8830da.
2021-06-13 20:21:27 +03:00
Delyan Angelov
9d6b8830da
ci: add on: [workflow_dispatch] tag inside .github/workflows/periodic.yml 2021-06-10 09:04:22 +03:00
pancake
012f866619
native: support more arithmetic, int/string arrays, function returns and internal_strlen (#10279) 2021-06-06 16:19:10 +03:00
joe-conigliaro
4217f05146
checker/ci: workaround bug causing errors with -usecache (sumtype field access) & add more -usecache tests (#10199) 2021-05-25 12:28:18 +03:00
Delyan Angelov
40f11b265e
ci: run only ./v -d network test vlib/net in periodic.yml 2021-05-24 11:26:49 +03:00
Larpon
ded8897671
ci: add vab job compiling v graphical examples (#10171) 2021-05-23 18:00:56 +03:00
Alexander Medvednikov
2a6a9c5222 ci: add -skip-unused test 2021-05-09 17:58:07 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
yuyi
600017d7fe
ci: fix CI failure (add 'sudo apt update' in the .yml files) (#10049) 2021-05-08 13:02:36 +03:00
pancake
6750ed254f x64: rename to native to not conflict with the x64 comptime variable 2021-04-27 12:24:58 +03:00
Delyan Angelov
59e23dbb57
ci: re-enable testing of ./v -freestanding run vlib/os/bare/bare_example_linux.v on ubuntu 2021-04-22 12:50:56 +03:00
Lukas Neubert
dff50686d6
ci: build module docs on PRs too (#9822) 2021-04-20 17:10:21 +03:00
Enzo
c174bfa52f
tools: add a v bug file.v tool to automatically report bugs on GitHub (#9746) 2021-04-19 21:40:54 +03:00
spaceface
73352583e7
ci: fix all -cstrict warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
Delyan Angelov
a761f6888f
ci: reorder the v-apps-compile job so it does not stop due to vpm timeout-ing 2021-04-17 21:10:56 +03:00
Delyan Angelov
7b1080a567
ci: fix -tcc32 job runs 2021-04-17 19:49:39 +03:00
Delyan Angelov
81d17f0a39
ci: add a windows-cross job to ci_cross.yml to prevent regressions 2021-04-17 19:31:39 +03:00
Delyan Angelov
d930944307
change trigger for debug_ci.yml 2021-04-17 16:19:17 +03:00
Delyan Angelov
a81abd4c10
debug 2 2021-04-17 16:12:11 +03:00
Delyan Angelov
889779e6a2
debug 1 2021-04-17 16:11:36 +03:00
Delyan Angelov
190673c547
ci: add a debug_ci.yml workflow 2021-04-17 16:08:18 +03:00
Delyan Angelov
d349e5a2e2
ci: use make.bat --verbose -msvc to diagnose CI build failure 2021-04-17 15:52:46 +03:00
ka-weihe
25a9d30a70
channels: fix C warnings (#9732) 2021-04-15 01:44:39 +02:00
Delyan Angelov
7071e8b682
ci: use VJOBS=1 VTEST_SHOW_START=1 for the windows-tcc job too 2021-04-14 19:44:04 +03:00
Delyan Angelov
338705835f
ci: run sanitizers jobs in serial mode (with VJOBS=1) 2021-04-14 18:43:52 +03:00
Delyan Angelov
980521824f
ci: ignore changes to .md files in gen_vc.yml 2021-04-14 10:58:16 +03:00
Uwe Krüger
10bf974cda
all: gc: provide optimized mode (#9716) 2021-04-14 00:40:26 +02:00
Delyan Angelov
2b41556aa4
ci: do not install mingw-w64 in the ordinary ci macos job 2021-04-13 13:45:30 +03:00
Delyan Angelov
a31e265317
ci: split cross compilation jobs to their own ci_cross.yml file 2021-04-13 13:41:30 +03:00
Delyan Angelov
e5a52edd6b
ci: split sanitized jobs to their own ci_sanitized.yml file, bump their timeout to 60 minutes 2021-04-13 13:24:01 +03:00
Delyan Angelov
1b924fcf41
ci: bump timeout-minutes limit to 45 (the sanitizer test jobs are slow) 2021-04-13 09:18:45 +03:00
Delyan Angelov
21e52ee003
ci: add libgl-dev in jobs dependencies 2021-04-12 20:30:39 +03:00
Delyan Angelov
b54188dfea
ci: cleanup references to libglfw and libsdl2 (not used anymore) 2021-04-12 19:24:14 +03:00
ka-weihe
062ee4356d
ci: add v build-examples steps to the sanitize jobs (#9655) 2021-04-09 23:39:02 +03:00
Delyan Angelov
f0a67a4813
ci: remove sources.list.d cleanup statements from all jobs (too many false positives) 2021-04-09 22:33:20 +03:00
Larpon
8caabf0e9e
sokol: update to floooh/sokol@c602d83 (#9607) 2021-04-07 20:39:23 +02:00
Alexander Medvednikov
6d77c8821b ci: gen_vc: fix a race (p. 2) 2021-04-07 15:43:15 +03:00
Alexander Medvednikov
8dbe323dff ci: gen_vc: fix a race 2021-04-07 15:34:11 +03:00
Delyan Angelov
4e6a176f42
ci: fix v up job 2021-04-07 15:15:39 +03:00
Alexander Medvednikov
d883921483
Update gen_vc.yml 2021-04-07 02:39:03 +02:00
Alexander Medvednikov
1abc20e3e4
Update gen_vc.yml 2021-04-07 02:22:40 +02:00
Alexander Medvednikov
6d2d51a9cd
Update gen_vc.yml 2021-04-07 02:16:17 +02:00
Delyan Angelov
337f764367
github: change gen_vc.yml to use git config --global (suggestion by spaceface) 2021-04-06 00:07:00 +03:00
spaceface
6ed50e7678
ci: add git authentication to the vc job (#9599) 2021-04-05 18:12:07 +03:00
spaceface
519c7194d7
vc: move the regeneration logic to CI (#9597) 2021-04-04 20:52:27 +02:00
Delyan Angelov
467c6ff726
ci: bump up the limits for the perf-regressions job 2021-03-27 17:26:47 +02:00
Uwe Krüger
3220ab7053
Boehm-GC: fix global const handling (#9477)
* define global `__v_inside_init`

* unset `__v_inside_init` after `_vinit()`

* define `C.GC_MALLOC_UNCOLLECTABLE()`

* allocate uncollectable memory during `_vinit()`

* ci: run test cases with V copiler that uses GC-Boehm itself

* wrap `__v_inside_init` access into `#ifdef _VGCBOEHM`
2021-03-26 16:44:45 +02:00
penguindark
a2ef9967fe
examples: add .obj viewer as a sokol example (#9456) 2021-03-25 16:53:13 +01:00
Uwe Krüger
257eadd2e1
gc: add -gc boehm_leak for leak detection (#9464) 2021-03-25 16:52:33 +01:00
Uwe Krüger
522d70b48d
builtin,cgen: fix -gc boehm issues with maps; add a CI job for it to prevent regressions (#9453) 2021-03-24 19:49:16 +02:00
ka-weihe
801da20fd9
ci: test-self (V compiled with -fsanitize=memory) (#9423) 2021-03-22 23:05:48 +01:00
Alexander Medvednikov
57b30507fa ci: run v self with -prealloc 2021-03-22 12:08:08 +03:00
Alexander Medvednikov
8efea1e1c8 ci: build blog example with -autofree 2021-03-20 16:17:04 +03:00
Delyan Angelov
79a8e34e33
ci: add ./v doc clipboard steps in the windows-tcc job too 2021-03-19 17:23:45 +02:00
Delyan Angelov
575ffb6881
Revert "ci: add ./v -W build-tools to windows-tcc too"
This reverts commit 4ca2accc77.
2021-03-19 15:53:56 +02:00
Delyan Angelov
4ca2accc77
ci: add ./v -W build-tools to windows-tcc too 2021-03-19 15:44:19 +02:00
Delyan Angelov
d76e78719c
ci: separate v -autofree option_test.v to its own step 2021-03-17 14:22:20 +02:00