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

395 Commits

Author SHA1 Message Date
Delyan Angelov
e6828560d1 ci: turn off failing websocket_autobahn job for now 2020-11-06 16:28:46 +02:00
Delyan Angelov
f32c6784e7
ci/tools: check-md.v: extract examples and check they are compilable (#6719) 2020-11-03 01:04:14 +01:00
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
Ryan Willis
82e2b1ec33
strconv: use import instead of module in test files (#5856) 2020-07-17 02:35:42 +02:00
Alexander Medvednikov
9b2cbdacc6 vfmt: verify 2020-07-16 19:46:03 +02:00
Alexander Medvednikov
6245876806 vweb: ip() 2020-07-16 00:48:14 +02:00
Alexander Medvednikov
60ce938149 builder: make builtin, strconv, os work with v build-module 2020-07-14 18:27:14 +02:00
Alexander Medvednikov
59df2db4e0 ci: disable C++ test for now 2020-07-11 15:36:08 +02:00
Alexander Medvednikov
867929e0b4 ci: run tests with -prod 2020-07-11 12:19:59 +02:00
Alexander Medvednikov
d4d552fb00 vet: prohibit spaces after ( 2020-07-11 11:41:39 +02:00
spaceface777
8df8866c5a
make.bat: improve diagnostics, do not add V to PATH automatically (#5789) 2020-07-10 22:50:29 +03:00
Delyan Angelov
beb90435b5 ci: add a separate 'Install markdown' step to the gitly-compiles job 2020-07-10 10:32:49 +03:00
Alexander Medvednikov
c0a0949932 ci: bring back cross-compilation to linux test 2020-07-09 00:46:30 +02:00
Tomas Hellström
2790890bc2
ci: use pre built docker containers for musl (#5759) 2020-07-08 21:30:57 +03:00
Delyan Angelov
d77a78d945 ci: add a separate gitly-compiles job 2020-07-08 08:59:09 +03:00
Alexander Medvednikov
271786b186 ci: skip some ui examples for now 2020-07-05 17:04:08 +02:00
Alexander Medvednikov
03ffe49aa3 ci: fix a typo 2020-07-01 20:17:01 +02:00
Alexander Medvednikov
2716a37916 ci: fix v vet call; fmt: fix SizeOf 2020-07-01 20:07:33 +02:00
Alexander Medvednikov
625ed030ef cgen: fix getn_cross_tmp_variable 2020-07-01 19:19:49 +02:00
Alexander Medvednikov
dbcb23ddc8 ci: run v vet on cgen and ast 2020-07-01 19:07:19 +02:00
Alexander Medvednikov
da99868a28 ci: run v vet vlib/v/parser 2020-07-01 18:57:14 +02:00
Delyan Angelov
78e1127d99
cgen: treat the main module like any other v module 2020-07-01 00:53:53 +02:00
Alexander Medvednikov
8d7eccb8e1
ci: fix gitly test 2020-06-30 14:16:53 +02:00
Alexander Medvednikov
a45ad47841
ci: testing building gitly with -autofree 2020-06-30 14:06:36 +02:00
Alexander Medvednikov
bbaf6e3a1c ci: add gitly.org 2020-06-28 01:13:21 +02:00
Delyan Angelov
2669610be9 sqlite: fix windows-install-sqlite.bat 2020-06-27 21:44:14 +03:00
Delyan Angelov
07cea76e63 sqlite: remove thirdparty/sqlite/shell.c from the amalgamation folder 2020-06-27 21:34:52 +03:00
Delyan Angelov
e9a2f86dcf sqlite: fix windows-install-sqlite.bat 2020-06-27 21:25:55 +03:00
Delyan Angelov
1e5a53abb3 sqlite: support for thirdparty/sqlite amalgamation install 2020-06-27 21:23:26 +03:00
spaceface777
624005bbd0
tcc_win: fix tests 2020-06-19 12:54:56 +02:00
Alexander Medvednikov
015d0c5e33 ci: disable linux cross compilation test for now 2020-06-16 00:52:07 +02:00
Alexander Medvednikov
a69d8c6744 ci: fix cross-compilation test 2020-06-15 22:56:55 +02:00
Alexander Medvednikov
0273933960 ci: test cross compilation to linux on macos 2020-06-15 22:49:13 +02:00
Alexander Medvednikov
0115c5e76c ci: bring back -autofree self test 2020-06-13 18:41:04 +02:00
Delyan Angelov
b3e0827f58 ci: change periodic.yml to also install valgrind too 2020-06-09 19:02:57 +03:00
Delyan Angelov
c6573f9005 ci: change periodic.yml to use cc in the ubuntu job. 2020-06-09 09:49:23 +03:00
Delyan Angelov
6f8e91e3a5 ci: fix ubuntu-tcc 2020-06-08 11:51:19 +03:00
Alexander Medvednikov
6b6c9d6738 gg: make the Sokol based gg the default 2020-06-04 16:05:15 +02:00
Alexander Medvednikov
6081e0d602 ci: bring back v ui build 2020-06-04 12:28:03 +02:00
Alexander Medvednikov
69df472adc ci: build examples on linux 2020-06-02 20:16:32 +02:00
Alexander Medvednikov
7496c1be2a examples: fix remaining examples and add them to CI 2020-06-02 19:47:28 +02:00
Delyan Angelov
776c57a478 ci: disable ui examples job for macos too 2020-06-01 19:29:49 +03:00
Delyan Angelov
16cddbf097 ci: disable Vid job for now on macos 2020-06-01 19:15:51 +03:00
Alexander Medvednikov
d4fac6add8 ci: disable -autofree self compilation for now 2020-05-26 01:48:11 +02:00
Delyan Angelov
7a4f26ac4f compiler: use -lpthread during building v itself. 2020-05-22 08:36:56 +03:00
Delyan Angelov
e49ca2a799 ci: update periodic.yml to use test-fixed too 2020-05-20 19:16:23 +03:00
Delyan Angelov
ebb3f4e402 ci: add new explict job 'install-modules', to test 'v install' 2020-05-20 12:20:13 +03:00
Delyan Angelov
2a62f1a312 ci: check that the generated v and v.exe from v.c and v_win.c actually work 2020-05-18 22:58:53 +03:00
Uwe Krüger
2635be511f
all: re-apply C++ support 2020-05-18 21:38:06 +02:00
Alexander Medvednikov
66506673f8 ci: use -municode 2020-05-18 18:31:37 +02:00
Alexander Medvednikov
edec0b9d95 ci: use -mwindows 2020-05-18 18:20:19 +02:00
Alexander Medvednikov
803143c6bd ci: test new v.c on Windows 2020-05-18 18:18:29 +02:00
Delyan Angelov
e7e0da7984 ci: add new compilable-v-c-and-v-win-c job 2020-05-18 19:07:45 +03:00
Alexander Medvednikov
07a78b2843 Revert "all: C++ compiler support"
This reverts commit 9a237c3e82.
2020-05-18 17:05:48 +02:00
Uwe Krüger
9a237c3e82
all: C++ compiler support 2020-05-18 15:51:36 +02:00
Delyan Angelov
fb27fe5379 CI: add v build-tools task to the tcc job 2020-05-17 00:14:06 +03:00
Alexey
c86e367b74
ci: fix typo in workflow name 2020-05-13 23:13:31 +02:00
Alexey
b74f4ee3ec
ci: remove "quick debug" 2020-05-11 23:57:00 +02:00
Alexey
e6bc18b21b
ci: extract "prebuilt" jobs to separate workflow 2020-05-11 23:01:49 +02:00
Alexey
e638d12654
windows: use setup-freetype tool to install freetype 2020-05-11 16:25:37 +02:00
Alexander Medvednikov
ce03761375 parser: fix mut args with the new syntax; checker: fmt 2020-05-11 14:16:20 +02:00
Delyan Angelov
621429561c ci: ensure that ubuntu-tcc rebuild twice v with tcc 2020-05-08 08:46:20 +03:00
Alexander Medvednikov
be063d740b ci: test self compilation with -autofree 2020-05-07 17:37:12 +02:00
Alexander Medvednikov
b0deac6756
ci: install openssl on ubuntu-musl 2020-05-06 19:30:32 +02:00
Delyan Angelov
88ef0a75e2 ci: pass V_CI_MUSL=1 on musl CI jobs 2020-05-06 15:10:47 +03:00
Delyan Angelov
8a7aa1eb3b ci: macos ui job, ensure that ~/.vmodules/ exists. 2020-05-05 08:40:04 +03:00
Delyan Angelov
5a9a102491 ci: fix failing macos job for building V UI examples 2020-05-05 08:32:48 +03:00
Alexander Medvednikov
74c2a3c6e6 ci: bring back V UI test 2020-05-05 02:29:23 +02:00
yuyi
02807aab43
interpolation: fix error on windows_gcc 2020-05-02 18:22:34 +03:00
penguindark
b67698888c
strconv: printf and string format utilities 2020-04-26 10:23:10 +03:00
Alexander Medvednikov
b228bd267f ci: bring back Vid test 2020-04-22 07:40:41 +02:00
Alexander Medvednikov
777c4bd57b
ci: install sqlite on ubuntu-musl 2020-04-21 10:05:54 +02:00
Delyan Angelov
8a1248b2e7 builder: restore module import cycle detection/topological reorder 2020-04-16 12:29:36 +03:00
Alexey
e64db44bb5
ci: don't run backtrace_test twice 2020-04-11 19:38:48 +02:00
Alexander Medvednikov
2bd20180e9 ci: bring back msvc tests 2020-04-11 16:32:31 +02:00
Alexander Medvednikov
50d5e23694
ci: node@v1 2020-04-07 17:41:18 +02:00
Alexander Medvednikov
300e75c0f3
ci: use checkout@v2 2020-04-07 17:37:01 +02:00
Alexander Medvednikov
887f1a73f7 ci: disable x64 test for now 2020-04-07 03:50:25 +02:00
Alexander Medvednikov
605cad3411 ci: msvc: disable tests for now 2020-04-07 03:30:14 +02:00
Alexey
901f69e122
ci: extend tests 2020-04-05 15:20:28 +03:00
Delyan Angelov
0869b230fb ci: fix ci.yml syntax 2020-04-05 13:04:24 +03:00
Delyan Angelov
86a649e017 ci: fix ci.yml syntax 2020-04-05 13:03:01 +03:00
Delyan Angelov
77fcac027e ci: fix tcc, by not running vlib/v/tests/backtrace_test.v there for now 2020-04-05 13:01:48 +03:00
Delyan Angelov
fde88a2c51 ci: implement 'v test-fixed' and use it on ubuntu,tcc,msvc jobs 2020-04-05 12:40:17 +03:00
Delyan Angelov
ef59bac511 Add passing math, bitfield, os, and strconv tests to the temporary list, run on the Ubuntu CI. 2020-04-05 00:35:54 +03:00
Alexander Medvednikov
1eeb5a29ff
Update feature_request.md 2020-04-02 18:29:51 +02:00
Alexander Medvednikov
b541117184
Update bug_report.md 2020-04-02 18:29:39 +02:00
Alexander Medvednikov
ed05dc8984 ci: enable msvc build 2020-04-02 14:36:10 +02:00
Alexander Medvednikov
5b835d294c more windows fixes + bring back windows ci 2020-04-02 13:44:46 +02:00
Alexander Medvednikov
ce771c7a5a ci: remove prod_test for now 2020-04-02 10:31:06 +02:00
Alexander Medvednikov
2fc70900d3 ci: fix syntax error 2020-04-02 10:24:34 +02:00
Alexander Medvednikov
ddb182c988 ci: add more temporary tests 2020-04-02 10:23:24 +02:00
Alexander Medvednikov
1e99968607 ci: test a failed test 2020-04-02 09:50:58 +02:00
Alexander Medvednikov
fcea7f6c9d ci: temporary tests 2020-04-02 09:40:53 +02:00
Alexander Medvednikov
97fbc3dd61 ci fixes 2020-04-02 02:17:33 +02:00
Alexander Medvednikov
fb4b93dfc0 ci fixes 2020-04-02 00:10:11 +02:00
Alexander Medvednikov
c6cf8ace22 glfw and tetris fixes; temporary ci fixes 2020-04-01 23:49:11 +02:00
Alexander Medvednikov
0de853a2ab v2: lots of minor test fixes 2020-04-01 17:14:21 +02:00
Alexander Medvednikov
5a0bfa03b3 fix tests 2020-04-01 15:39:54 +02:00
Alexander Medvednikov
4541f29019 ci: install V UI 2020-03-28 09:12:16 +01:00
Alexander Medvednikov
479d5d676e ci: test V UI 2020-03-27 22:09:14 +01:00