Commit Graph

445 Commits (fad254dccecbe102837e22a4b1deebc0d81eac0c)

Author SHA1 Message Date
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 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 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 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
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
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
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 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
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
Delyan Angelov 4e6a176f42
ci: fix `v up` job 2021-04-07 15:15:39 +03: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
Delyan Angelov a08e673581
ci: add a step in `misc-tooling`, to ensure `v -autofree -o v2 cmd/v` does not regress 2021-03-16 23:04:42 +02:00
Delyan Angelov d30750de92
ci: split misc-tooling into its own CI job 2021-03-16 21:25:35 +02:00
spaceface 906d28e9e4
ci: reduce the number of concurrent jobs (#9301) 2021-03-14 18:54:45 +02:00
Delyan Angelov b6d089b605
v.depgraph: ensure `v -d debug_realloc -o v cmd/v` works 2021-03-14 16:15:33 +02:00
Delyan Angelov d22ea75449
ci: bump repeat --max_time limit for `v -o v.c cmd/v` to 850ms 2021-03-10 17:40:17 +02:00
Carlos Cobo b68784aa7f
ci: remove double vab build (#9217) 2021-03-09 17:19:06 +02:00
Delyan Angelov d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
StunxFS c9a9f948be
tutorials: move vweb tutorial inside its own folder (#8930) 2021-03-04 15:24:07 +02:00
Ruofan XU 5807e1b3ae
make/test: clean 32-bit detection and test tcc32/tcc64 CI run (#9001) 2021-02-27 21:19:11 +03:00
Alexander Medvednikov d39866d4f7 cgen: optionals/autofree fixes 2021-02-27 17:11:30 +03:00
Ruofan XU 1a8e502e2c
ci: add tcc32 CI on windows (#8922) 2021-02-25 12:52:12 +01:00
Delyan Angelov 34002c7c22
ci: add vex-compiles job 2021-02-23 18:04:48 +02:00
Delyan Angelov f2ce72c2bf
ci: split the websockets tests into their own CI .yml file 2021-02-21 16:35:27 +02:00
ka-weihe 1039d39846
ci: test-self with address sanitized compiler (#8866) 2021-02-21 16:09:19 +02:00
kristof de spiegeleer 3f3bec45fa
examples: add a template example, update the regex examples (#8829) 2021-02-19 12:39:15 +02:00
Ruofan XU 94acc27ee6
ci: enable v to js, build-examples, v doctor, build-vbinaries, self-compilation on all windows CI (#8739) 2021-02-15 17:12:22 +02:00
Ruofan XU 8b1337029f
ci: add build-examples task to tcc-windows CI (#8653) 2021-02-11 01:23:03 +01:00
ka-weihe 367dbc7707
ci: add tests with -Werror (#8630) 2021-02-07 23:10:01 +01:00
Alexander Medvednikov 1084b43ffb all: ast walker for marking unused fns 2021-02-05 08:05:35 +01:00
joe-conigliaro ffedbe4b81
cgen: move cgen from v.gen to v.gen.c (#8515) 2021-02-02 15:41:51 +01:00
Delyan Angelov 8b0401a46f
ci: fix a performance-regressions bug, where vmaster was executed with cmd/v from the parent, but vlib from itself 2021-01-31 21:06:55 +02:00
Delyan Angelov 89bf48e3ba
ci: fix `v -W build-examples` 2021-01-31 10:43:49 +02:00
Ruofan XU de8df1bbe3
ci: enable bootstrap with tcc on windows (#8436) 2021-01-30 11:02:25 +02:00
Delyan Angelov 90ecbde712
ci: increase the timeout for macos 2021-01-26 20:59:21 +02:00
Delyan Angelov 8520feee55
ci: use `-cc tcc -no-retry-compilation` for all `-tcc` jobs. 2021-01-25 18:56:21 +02:00
Delyan Angelov ef6839286e
ci,tools: implement silent mode in `./v test-parser -S examples/cli.v` 2021-01-23 18:53:47 +02:00
Tomas Hellström 39e5f6e9df
x.websocket: websocket server fix and bring back server autobahn (#8291) 2021-01-23 16:56:38 +01:00
Daniel Däschle dbf84520f1
all: update assoc syntax (#8274) 2021-01-22 23:24:48 +01:00
Daniel Däschle 7c7df37abb
ci: re-enable vls-compiles (#8273) 2021-01-22 22:31:55 +02:00
Tomas Hellström 970c03987d
ci: temporarily comment the server tests for autobahn (#8272) 2021-01-22 22:30:53 +02:00
Daniel Däschle 500ebf77e4
all: implement multiple generics (#8231) 2021-01-22 13:49:56 +01:00
Delyan Angelov 927606dc39
tools: rename `v test-compiler-full` to `v test-self` 2021-01-19 10:41:51 +02:00
Delyan Angelov 460f32baf2
tests: add `v test-all`, move `v test-fixed` to `v test-compiler-full` 2021-01-17 16:11:10 +02:00
penguindark c067cc0357
vlib: add a TTF font loader and render in `x.ttf` (#7995) 2021-01-10 20:14:41 +02:00
Delyan Angelov a8a81a1708
ci: add "Verify `v test` works" tasks 2021-01-04 13:39:39 +02:00
Leandro Silva 86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751) 2021-01-03 16:56:55 +01:00
Alexander Medvednikov 0c77bdf8f6 tutorials: fix blog code 2021-01-01 20:38:22 +01:00
Alexander Medvednikov 7bcc5afbb6 ci: run tutorial 2021-01-01 20:25:49 +01:00
Delyan Angelov 2e8f187819
ci: use `runs-on: ubuntu-20.04` consistently 2021-01-01 15:14:09 +02:00
Alexander Medvednikov 291160c32d ci: build-vbinaries on windows 2020-12-29 21:24:33 +01:00
Alexander Medvednikov 114df3ce7c ci: bring back v self test on windows 2020-12-29 20:01:32 +01:00
ka-weihe 2c65c5c61a
ci: sanitize compiler for tests (#7685) 2020-12-29 20:27:57 +02:00
Larpon e8cd056eb6
ci: add a `vab-compiles` job (#7687) 2020-12-29 20:24:54 +02:00
Delyan Angelov 9728abf4bc
ci: add a `vls-compiles` job too 2020-12-29 10:13:54 +02:00
ka-weihe 4d5ee0649c
ci: add test-fixed with -fsanitize (#7665) 2020-12-29 07:46:54 +02:00
Delyan Angelov 1a25b54adb
ci: change `ci.yml` name to `Code CI`, to ease filtering 2020-12-28 20:03:05 +02:00
Delyan Angelov ae5cfa70e9
ci: be more verbose in the Updating V... job 2020-12-28 10:43:24 +02:00
Delyan Angelov f4c288215e ci: use `./v build-tools` in ubuntu-tcc to diagnose errors more easily 2020-12-22 22:44:33 +02:00
Delyan Angelov 178ddfe9c0 ci: improve on the `v up` job, using cmd/tools/oldv 2020-12-22 15:02:45 +02:00
Alexander Medvednikov 1b39408eb6 ci: test v up 2020-12-22 11:59:19 +01:00