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

732 Commits

Author SHA1 Message Date
Delyan Angelov
df029da942
Revert "ci: run code-formatting job before everything else (try 2) (#14379)"
This reverts commit 0972e67f72.
2022-05-12 23:29:37 +03:00
Daniel Däschle
0972e67f72
ci: run code-formatting job before everything else (try 2) (#14379) 2022-05-12 21:58:11 +03:00
Delyan Angelov
f956acd2f6
ci: restore the v -autofree . step for gitly (gitly now has a workaround) 2022-05-07 12:55:40 +03:00
Delyan Angelov
9e8e364493
ci: comment out the go2v testing step for now 2022-05-07 12:55:39 +03:00
Delyan Angelov
785e9af8f1
ci: comment out the v -autofree . step for gitly temporarily 2022-05-05 09:20:08 +03:00
Delyan Angelov
5e8c4a3aff
ci: enable again the v install ui task 2022-04-21 11:21:59 +03:00
Delyan Angelov
c789ea5a15
ci: temporarily use git clone https://github.com/vlang/xyz ~/.vmodules/xyz instead of v install xyz 2022-04-21 09:20:15 +03:00
Delyan Angelov
31b28af179
bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111) 2022-04-21 00:12:50 +03:00
Delyan Angelov
379b638b57
ci: update windows-install-sqlite.bat to latest sqlite 2022-04-18 14:25:57 +03:00
spaceface
775c4c34b5
builtin: compile the gc statically by default (#14063) 2022-04-18 10:50:21 +03:00
Delyan Angelov
a62560d2c1
ci: fix generation of vc/v_win.c in gen_vc.yml 2022-04-14 13:44:18 +03:00
Delyan Angelov
e555335bf0
ci: fix windows-msvc builds, as well as the windows-cross job, turn on deprecation notices for [windows_stdcall] and [_fastcall] 2022-04-14 13:36:51 +03:00
Delyan Angelov
716cb17aea
math.big: wrap all asserts in module code (not in tests) in $if debug {} (#14012) 2022-04-12 09:38:53 +03:00
Vincenzo Palazzo
4666a27e5f
ci: introduce v benchmarks inside the ci workflow (#13949) 2022-04-07 12:21:13 +03:00
Alexander Medvednikov
829fed4af0 ci: build vpm again 2022-04-05 08:02:47 +03:00
yuyi
6987f2c087
time: fix error for time.local() on windows (#13892) 2022-04-01 17:16:46 +03:00
Delyan Angelov
fb5df9665e
ci: use ./v instead of v in "Shader examples could be build" step 2022-03-31 13:53:02 +03:00
Delyan Angelov
fa3fa2e74f
ci: add again sudo apt-get update for the Install dependencies step 2022-03-31 13:44:42 +03:00
Delyan Angelov
4222fd0862
ci: add vlang/pdf testing task, simplify other_ci.yml using v should-compile-all 2022-03-31 11:35:20 +03:00
Larpon
894080b844
ci: update sdl ci to compile shader example (#13805) 2022-03-22 17:36:23 +02:00
Delyan Angelov
4d99157cd5
ci: add go2v build & test job to other_ci.yml 2022-03-13 19:03:42 +02:00
Delyan Angelov
57c6454656
ci: bump timeout-minutes to 30 for 'Bootstraping works' job 2022-03-02 19:51:40 +02:00
Delyan Angelov
9535d38645
ci: fix concurrency.group name for containers_ci.yml 2022-02-24 16:00:57 +02:00
Delyan Angelov
9523c23e14
ci: bump timeout-minutes to 25 for ci_cross.yml 2022-02-24 12:04:04 +02:00
Delyan Angelov
a886242700
ci: extract ubuntu-docker-musl and alpine-docker-musl-gcc to containers_ci.yml, so they can be easily turned on/off in private github actions 2022-02-18 10:31:01 +02:00
Delyan Angelov
3bcd11260f
ci: move alpine-docker-musl-gcc and ubuntu-docker-musl to other_ci.yml 2022-02-18 10:25:04 +02:00
Delyan Angelov
554a689213
ci: be more verbose when running make.bat on the CI 2022-02-17 13:26:23 +02:00
Joe Conigliaro
6fc654821f
cgen: get usecache working with clang (fix duplicate symbols) 2022-02-17 22:17:07 +11:00
Delyan Angelov
d3b8ac2e46
ci: remove the -silent flag for CI jobs (the failing tests are listed at the end of the run anyway) 2022-02-16 21:02:36 +02:00
mint
73cf597bec
ci: remove now-useless mlibc stuff from Vinix workflow (#13471) 2022-02-15 11:19:28 +02:00
Delyan Angelov
89e9f8a00c
ci: fix vinix compilation to commit aa18fc0 (Meson building mlibc fails in a01546b) 2022-02-14 21:25:50 +02:00
Delyan Angelov
1dbde05267
ci,tools: improve the precision of report-missing-fn-doc, remove dependence on sed 2022-02-08 11:30:13 +02:00
Larpon
5df83812a0
ci: fix undoc pub fn diff output (#13389) 2022-02-07 13:18:10 +02:00
Larpon
649ecab11f
ci: add report-missing-fn-doc job, to prevent adding new undocumented pub symbols in vlib (#13386) 2022-02-06 19:52:14 +02:00
kahsa
fd9aa8bee6
ci: require a minimal reproducible code sample in .github/ISSUE_TEMPLATE/bug_report.md (#13382) 2022-02-06 15:41:57 +02:00
Delyan Angelov
894da4b40b
ci: fix for sporadic Killed failures when running js tests on macos 2022-01-30 16:43:04 +02:00
Delyan Angelov
7199528a27
ci: use different concurrency.group values for different .yml files 2022-01-24 14:36:42 +02:00
Delyan Angelov
34f0d442df
ci: separate other_ci.yml and paths_ci.yml; simplify make.bat (#13254) 2022-01-23 12:50:19 +02:00
Delyan Angelov
36c9ed6889
ci: split code-formatting-perf-regressions in 2 jobs 2022-01-21 17:13:04 +02:00
Delyan Angelov
04aab250aa
ci: prevent adding GPL licensed code by accident. 2022-01-21 17:13:03 +02:00
Delyan Angelov
835484a953
ci: add libgc-dev to the v-apps-compile job 2022-01-17 16:39:30 +02:00
Delyan Angelov
4597c74d1a
markused: fix v -gc boehm -skip-unused cmd/vls 2022-01-17 16:32:40 +02:00
Larpon
535317eba3
ci: simplify vab_ci.yml (#13109) 2022-01-09 19:24:47 +02:00
Delyan Angelov
70bf200e16
ci: pin sokol-shdc.exe version to latest working (after new commit to floooh/sokol-tools-bin/, shdc fails to compile gouraud.glsl) 2022-01-08 17:56:16 +02:00
Larpon
17911432b9
android: fix and test compilation to raw Android C code (#13080) 2022-01-07 16:57:05 +02:00
Delyan Angelov
26c63461f4
tests: rename testcase_leak.v to testcase_leak.vv 2022-01-07 14:05:46 +02:00
Delyan Angelov
9974495f5e
ci: install libgc-dev in toml_ci.yml too 2022-01-03 15:03:43 +02:00
Delyan Angelov
ee858568ff
toml: ignore CRLF just like LF in line comments, support VTEST_HIDE_OK=1 in tests. 2022-01-03 12:54:16 +02:00
Delyan Angelov
b4111451bf
ci: fix alexcrichton/toml-rs task in toml_ci.yml 2022-01-03 11:15:42 +02:00
Delyan Angelov
3aba840af1
ci: show jq version in toml_ci.yml 2022-01-03 10:52:34 +02:00
Delyan Angelov
99fdcd2e71
v.builder: fix v -cc tcc -no-retry-compilation build-module vlib/sync/stdatomic 2021-12-29 21:32:30 +02:00
Delyan Angelov
537760edcd
ci: fix failing macos job (do not test -usecache for now there) 2021-12-29 18:29:08 +02:00
Delyan Angelov
cb34309f6f
cgen: fix chained ./v -usecache -o v cmd/v (and all other V programs that use maps) 2021-12-29 17:57:04 +02:00
Benjamin Stigsen
546c388b02
gg: renaming drawing functions (#12913) 2021-12-23 13:31:25 +02:00
Delyan Angelov
b88a40ad80
ci: cleanup and fix sdl_ci.yml 2021-12-23 13:01:38 +02:00
Larpon
b3161b05a3
ci: add sdl workflow for testing vlang/sdl (#12934) 2021-12-22 17:52:47 +02:00
Delyan Angelov
5ee5f92cda
ci: use github.sha instead of github.ref, so CI runs on master are not canceled early 2021-12-21 19:18:59 +02:00
Delyan Angelov
794bdfdca7
ci: use concurrency.cancel-in-progress 2021-12-21 19:10:43 +02:00
yuyi
9f7d71d338
ci: fix ci error of vls build (#12909) 2021-12-20 19:08:22 +02:00
spaceface
8a34fb7857
ci: run the full V test suite on arm64 (#12865) 2021-12-16 17:44:21 +02:00
spaceface
5b5d0bbb9c
ci: ensure that V can be built on arm64 using tcc (#12841) 2021-12-15 11:17:25 +02:00
Delyan Angelov
5365984ef5
ci: use powershell Compress-Archive instead of zip in binary_artifact.yml 2021-12-14 12:20:20 +02:00
Delyan Angelov
2f99022f0f
ci: simplify and cleanup binary_artifact.yml 2021-12-14 11:10:46 +02:00
Larpon
b1a9bf29db
vgret: add support for config via toml and root path (#12821) 2021-12-13 20:58:31 +02:00
Larpon
ea1f398f90
ci: add gfx_ci utilizing vgret (#12785) 2021-12-11 10:30:06 +03:00
Jordan Bonecutter
fd4e071621
net.openssl: use a pkgconfig directive, instead of a hardcoded path (#12735) 2021-12-07 22:11:47 +02:00
Larpon
b3aedff3f8
toml: convert yaml value checks in iarna test suite (#12629) 2021-12-01 14:43:15 +02:00
Larpon
5c8e626912
toml: add alexcrichton/toml-rs test suite to CI (#12624) 2021-11-30 15:08:30 +02:00
Larpon
14424100e8
toml: comply with BurntSushi @eb989e5 (#12616) 2021-11-29 22:15:22 +02:00
Larpon
4383cf7de5
toml: add iarna/toml-spec-tests to CI tests (#12583) 2021-11-26 19:15:01 +02:00
Larpon
04b030b7ab
toml: add 1MB file parsing test to CI (#12582) 2021-11-26 18:11:14 +03:00
Ulises Jeremias Cornejo Fandos
ff911986e7
ci: add tasks for checking that vsl and vtl are not broken by updates to V (#12559) 2021-11-24 09:45:13 +02:00
Delyan Angelov
87f7a6d99f
ci: update toml_ci.yml's TOML_TESTS_PINNED_COMMIT to 8baf830 2021-11-23 16:59:23 +02:00
Delyan Angelov
bf7074cad4
ci: disable the tcc32 windows tasks for now 2021-11-22 22:05:09 +02:00
Delyan Angelov
278be77c11
ci: use wine64 explicitly in ci_cross.yml 2021-11-22 16:59:21 +02:00
Delyan Angelov
1bbbba5813
ci: improve ci_cross.yml 2021-11-22 16:36:26 +02:00
Larpon
bd9ac598f7
toml: add support for validation of structure and values (#12481) 2021-11-17 08:30:40 +02:00
Larpon
cbdb270d2f
toml: upgrade the module to 100% BurntSushi test suite parsing compatibility (#12466) 2021-11-15 15:36:14 +02:00
Delyan Angelov
7a9ba9f41f
ci: pin burntsushi/toml-test to their latest master for now 2021-11-06 15:47:49 +02:00
Alexander Ivanov
0386f2bbea
checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
Delyan Angelov
6f7c3a7cdf
ci: do brew install openssl on the macos job, reduce flakyness of tcp_test.v 2021-10-01 13:13:05 +03:00
Alexander Medvednikov
d374c347e5 ci: fix gitly test 2021-09-30 00:08:28 +03:00
Alexander Medvednikov
c2f535fee1 ci: run the gitly web server test 2021-09-29 19:26:49 +03:00
Delyan Angelov
86694ddc85
ci: bump up fetch-depth to 10 for the bootstrapping CI jobs 2021-09-28 18:43:33 +03:00
Delyan Angelov
a03693e881
ci: extract bootstrapping tests into their own .yml file 2021-09-28 17:38:03 +03:00
Delyan Angelov
85c38bac34
ci: make the bootstrapping failure detection more sensitive 2021-09-28 17:17:55 +03:00
Delyan Angelov
3467ab1551
ci: fix the g++ build and the alpine-musl task 2021-09-28 15:29:00 +03:00
Delyan Angelov
9bf6d57032
ci: remove make.bat --verbose usages from the .yml files 2021-09-28 13:11:55 +03:00
crthpl
85b58b03a3
cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
yuyi
4e1ebca0cb
ci: remove vls master branch test (#11992) 2021-09-27 07:11:18 +03:00
Delyan Angelov
105e76f321
ci: bump up perf-regressions limits to 251ms for hw, and 1501ms for v -o v.c cmd/v, to avoid false positives :-| 2021-09-26 22:36:58 +03:00
Larpon
5541ec8670
vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00
Delyan Angelov
f5efa93570
ci: disable tests-sanitize-address-msvc for now 2021-09-18 15:14:17 +03:00
Delyan Angelov
740af306c0
ci: use quotes for "/fsanitize=address" in tests-sanitize-address-msvc 2021-09-18 12:08:09 +03:00
Delyan Angelov
209b159554
ci: fix tests-sanitize-address-msvc job (pass proper /fsanitize=address option) 2021-09-18 10:05:35 +03:00
Delyan Angelov
6ea750da8d
v test-all: add a v run examples/v_script.vsh step too 2021-09-10 12:45:52 +03:00
Delyan Angelov
48f0ef0a33
ci: ignore patch problems for vinix-kernel.yml 2021-09-10 12:19:05 +03:00
Delyan Angelov
823c9a3c84
ci: fix vinix-build job after commit 9776274 in vinix 2021-09-07 07:13:42 +03:00
Delyan Angelov
83d492bcb8 ci: add a v.c can be compiled and run with -os cross step on the macos job too 2021-09-06 20:38:51 +03:00
Delyan Angelov
d7490abe19
ci: fix binary_artifact.yml 2 2021-08-16 11:20:39 +03:00
Delyan Angelov
9aa84082fd
cleanup binary_artifact.yml, remove failing build-linux-arm64 job 2021-08-16 11:13:50 +03:00
Alexander Medvednikov
20ca038a56 ci: build hello world with -usecache 2021-08-16 06:42:43 +03:00
Delyan Angelov
e64a9fa592
freebsd_build_tcc.sh: use an explicit --cc=clang 2021-08-15 11:43:25 +03:00
Delyan Angelov
3c553f16ed
ci: use gmake in freebsd_build_tcc.sh 2021-08-15 11:32:40 +03:00
Delyan Angelov
e3bd793f43
ci: add a script to install tcc from source on freebsd so it can be run the freebsd job 2021-08-15 09:49:56 +03:00
Alexander Medvednikov
e6d79f2fa7 ci: run fast.v on freebsd 2021-08-15 09:27:17 +03:00
Alexander Medvednikov
f1244bd7f1 ci: do not upload fast.v results 2021-08-15 09:22:01 +03:00
Delyan Angelov
0ed7b000ec
ci: do not run examples/build_examples.vsh temporarily (fixes failing macos job) 2021-08-10 15:29:14 +03:00
Enzo
1588fe7967
ci: run sanitized CI when "vtest*" tools are modified (#11112) 2021-08-09 17:05:15 +03:00
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