Commit Graph

293 Commits (fee56b1902f2d0a91345efd040006491deee7fc0)

Author SHA1 Message Date
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03:00
Delyan Angelov d67e177733 ci: run `v vet` over cmd/tools and cmd/v too 2020-10-21 15:26:29 +03:00
Delyan Angelov 09128accff ci: fix `./v build-module vlib/v/gen` case 2020-10-21 10:13:50 +03:00
Delyan Angelov c4fa1dbc0b ci: fix syntax error in ci.yml 2020-10-21 09:45:32 +03:00
Alexander Medvednikov 61611159c7 ci: disable term cache build for now 2020-10-21 00:42:22 +02:00
Alexander Medvednikov 00e9daf790 ci: test building more modules 2020-10-21 00:17:47 +02:00
Lukas Neubert d881185d79
ci: separate workflow for docs line len check (#6653) 2020-10-20 20:14:56 +02:00
Alexander Medvednikov 2d446aa2ce ci: fix path to V UI examples 2020-10-18 21:42:19 +02:00
Alexander Medvednikov 9f620ab23b ci: build all V UI examples 2020-10-18 21:29:29 +02:00
Delyan Angelov 16ce316695 ci: add V_CI_PERIODIC env for periodic.yml 2020-10-18 19:44:53 +03:00
Delyan Angelov d75b9c704c ci: use -silent so failures are easier to spot in the logs 2020-10-18 19:38:45 +03:00
Enzo b083f4014b
fmt: fix multiple things and format most of the compiler (#6631)
Format expressions inside string interpolation like the rest (it used to be a+b instead of a + b, not too sure why)
Fix formatting some match branches when there were only one statement inside (it was inlined)
Fix parsing and formatting some comments edge case on struct field init. You should check out this test because the result is a bit different from before. I personally find it more logical but I would understand if the former format was to stay
Fix formatting of void-returning function signature
2020-10-15 22:12:59 +02:00
Alexander Medvednikov 8b13f3b53f fmt: fix tests 2020-10-15 12:45:34 +02:00
Alexander Medvednikov 7da1afa140 all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests 2020-10-15 12:32:28 +02:00
Delyan Angelov 60296c8900 ci: run `v -silent test-fmt` as a new task in the code-formatting job 2020-10-15 11:45:09 +03:00
Delyan Angelov effa93d4b8 ci: add dedicated `code-formatting` job 2020-10-15 11:39:42 +03:00
Delyan Angelov 9e16576380 ci: turn on only the first part of binary_artifact.yml (building) 2020-10-14 23:09:40 +03:00
Delyan Angelov 067c8b39ba ci: comment the new binary_artifact.yml workflow 2020-10-14 23:04:43 +03:00
Leah Lundqvist a45481baa3
actions: generate prebuilt binaries every commit (#6617) 2020-10-14 20:09:14 +02:00
Delyan Angelov 988221d87b ci: prioritize the `v vet` task, so unformatted code fails faster 2020-10-14 20:04:50 +03:00
Delyan Angelov 0edcd5efb0 repeat.v: support --max_time limit for the average time of a command 2020-10-09 11:08:59 +03:00
Delyan Angelov 580fefe63b ci: run the hello_world.v task first in the performance-regressions job 2020-10-06 16:15:31 +03:00
Alexander Medvednikov a51c445df8 ci: vfmt -verify more important files 2020-10-06 06:32:39 +02:00
Delyan Angelov c53ebd89b1 repeat.v: implement a --series option 2020-10-02 13:28:05 +03:00
Delyan Angelov 032a3e6b3a ci: add new performance-regressions job, using cmd/tools/repeat 2020-10-02 12:39:39 +03:00
spaceface777 d44eabe247
doctor: detect if running in a VM / WSL / chroot (#6447) 2020-09-22 17:41:32 +03:00
Delyan Angelov a9ef7d173f doctor: suggest `v doctor` in issue templates and C builder errors 2020-09-21 18:29:52 +03:00
Delyan Angelov bc28801993 ci: fix failing ubuntu-musl job 2020-09-18 21:32:05 +03:00
Tomas Hellström a160038e1a
ci: re-enable autobahn tests (without autofree) (#6360) 2020-09-13 16:20:22 +02:00
Tomas Hellström a99986041f
ci: temporary remove autobahn (#6359) 2020-09-13 15:48:09 +02:00
Alexander Medvednikov 3b589115f0 ci: yaml? 2020-09-13 03:13:23 +02:00
Alexander Medvednikov f074d766e5 ci: disable gitly autofree build for now 2020-09-13 03:06:16 +02:00
Nick Treleaven 497bf226e2
add TESTS.md file to explain different tests (#6318) 2020-09-07 13:48:15 +02:00
Alexander Medvednikov 3410705974 autofree: lots of fixes 2020-09-05 12:00:35 +02:00
Delyan Angelov b609836f79 ci: run `VJOBS=1 ./v test-fixed` on the macos job, to better diagnose a sporadic V panic 2020-08-24 10:20:11 +03:00
Delyan Angelov 990da2ee6d ci: install libasound2-dev on ubuntu jobs too 2020-08-24 10:11:09 +03:00
Delyan Angelov 6a0cb3e552 ci: install libxi-dev and libxcursor-dev on ubuntu 2020-08-24 09:58:03 +03:00
Tomas Hellström c5eec881c1
ci: remove openssl install on windows builds 2020-08-23 02:12:54 +02:00
Tomas Hellström e9e2a586ce
x.websocket: autobahn test (#6190) 2020-08-22 06:51:08 +02:00
Tomas Hellström fb148e0b61
x.websockets: new websockets module on top of x.net (#6189) 2020-08-22 00:50:38 +02:00
Alexander Medvednikov b1c042b3ea ci: test v self compilation 4 times with tcc 2020-08-20 08:32:05 +02:00
Alexander Medvednikov bc3b411b12 ci: run v vet on ubuntu-tcc 2020-08-11 17:45:17 +02:00
Alexander Medvednikov 6d72209363 checker: minor c2v fixes 2020-08-11 00:51:15 +02:00
Allie 0692164333
github: add a hint to the issue template (#6086) 2020-08-08 16:24:35 +02:00
Nick Treleaven c33dbbc216
fmt: don't add newlines for UnsafeExpr (#6048) 2020-08-04 00:29:10 +02:00
Nick Treleaven 3e4df7f140
v/fmt: fix dropping `as ident` from `if sum is T` statement (#6049) 2020-08-03 18:16:06 +03:00
Delyan Angelov 3df0ef249c ci: comment out sdl2 references 2020-07-28 19:17:44 +03:00
Enzo 2de1437a1e
ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
Alexander Medvednikov fb41c6659a ci: vfmt -verify parser.v and cgen.v 2020-07-23 22:50:51 +02:00
Alexander Medvednikov 3c90da6afa ci: enable vfmt check 2020-07-20 22:26:44 +02:00