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

691 Commits

Author SHA1 Message Date
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
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
Alexander Medvednikov
3a691dcc6d ci: fix v2 self compilation 2020-03-27 11:48:06 +01:00
Alexander Medvednikov
cb747316ed ci: V2 self compilation 2020-03-27 11:39:16 +01:00
Delyan Angelov
3f328a0242
test: fix 'v test vlib/v/tests' 2020-03-22 13:26:16 +01:00
Alexander Medvednikov
e0c85f87ae cgen: args fixes 2020-03-11 21:11:27 +01:00
yuyi
f724a4d820
ci: fix workflows/windows-install-sdl.bat 2020-03-10 16:10:05 +01:00
lutherwenxu
aab31f4b35
cmd/v: rewrite flags 2020-03-06 18:53:29 +01:00
Alexey
5142747ceb
examples: move SDL examples from vlib to examples dir 2020-03-06 18:39:40 +01:00
Don Alfons Nisnoni
20d900a21d
ci: add a simple line length tool to check docs.md 2020-02-20 13:41:02 +01:00
Alexey
44e8770b73
ci: fix windows-prebuilt job 2020-02-17 20:08:09 +01:00
Alexander Medvednikov
28c83f3f43 ci: windows fix 2020-02-17 15:19:45 +01:00
Alexander Medvednikov
457035c7ec
Update ci.yml 2020-02-17 13:54:05 +01:00
Alexander Medvednikov
503a624cc9
ci: fix windows cmd syntax 2020-02-17 13:37:57 +01:00
Alexander Medvednikov
bc977f8d4a
ci: test prebuilt windows package 2020-02-17 12:44:55 +01:00
Alexander Medvednikov
c4faa284ed
ci: test prebuilt linux package 2020-02-17 12:35:00 +01:00
Delyan Angelov
195f3f465b
option to disable bounds checking; examples/path_tracing.v: optimizations 2020-02-16 16:13:45 +01:00
Alexander Medvednikov
d4991164cf fix ci 2020-02-15 20:18:50 +01:00
Alexander Medvednikov
87e28e6b49
Update ci.yml 2020-02-15 14:46:05 +01:00
Alexander Medvednikov
14a29823c0
ci: test prebuilt macos package 2020-02-15 14:45:10 +01:00
Delyan Angelov
869e16c340
fix CI macOS-latest (failing postgresql brew install) 2020-02-13 19:22:13 +01:00
Alexey
ab7a79cb90
ci: fix complilation in periodic workflow 2020-02-12 17:34:11 +01:00
lutherwenxu
9332a83ce6
move v.v to cmd/v 2020-02-09 10:08:04 +01:00
Alexander Medvednikov
efaca5974c ci: build vpm 2020-02-05 11:22:24 +01:00
joe-conigliaro
b6a62cf20e
ci: fix config error from #da8c7eb (#3640) 2020-02-03 23:32:18 +11:00
joe-conigliaro
da8c7eb0fc
ci: fix homebrew-service (PostgreSQL) do manual start for now. (#3638) 2020-02-03 23:29:23 +11:00
Alexander Medvednikov
b1bf2e0371 ci: brew services fix 2020-02-03 11:57:57 +01:00
Delyan Angelov
df2d3a268d tests: support -silent flag to silence OK messages in CI jobs 2020-01-24 20:07:44 +01:00
Alexander Medvednikov
53b06048d2 fast.v fixes 2020-01-20 02:19:58 +01:00
Chris Watson
84a6c019e8 http: refactor and reduce duplication 2020-01-16 18:16:11 +01:00
Alexander Medvednikov
8a7f2a2696 ci: disable prebuilt tests for now 2020-01-09 01:50:50 +01:00
Alexander Medvednikov
56421beb8a ci.yml: small windows fix 2020-01-08 17:23:40 +01:00
Alexander Medvednikov
526f12feff ci.yml: fix run command 2020-01-08 14:18:26 +01:00
Alexander Medvednikov
ae266f56e2 ci: build examples on windows-prebuilt 2020-01-08 14:11:44 +01:00
Alexander Medvednikov
3d31b21df9 ci.yml: use curl -L 2020-01-08 14:05:45 +01:00
Alexander Medvednikov
c668d0569c ci.yml: debug curl 2020-01-08 13:48:15 +01:00
Alexander Medvednikov
0b0e90dc53 ci.yml: use curl 2020-01-08 11:42:46 +01:00
Alexander Medvednikov
93b6089522 fix ci.yml 2020-01-08 11:35:23 +01:00
Alexander Medvednikov
e70ef5334a fix array copy; ci: test prebuilt Windows package 2020-01-08 11:33:09 +01:00
Alexander Medvednikov
69f3c42b99 method calls; skip string interpolation for now; fix () 2020-01-07 01:08:24 +01:00
Alexander Medvednikov
48ea1153a5 for ;; syntax 2020-01-07 00:14:19 +01:00
Alexander Medvednikov
1e28c1d4fd clean up the parser a bit; run vfmt; add x64 to ci 2020-01-06 23:15:37 +01:00
Alexander Medvednikov
c949e9e636 Revert "ci: bring back x64 test"
This reverts commit 0bd84e8060.
2020-01-01 23:20:46 +01:00
Alexander Medvednikov
0bd84e8060 ci: bring back x64 test 2020-01-01 22:44:37 +01:00
Alexander Medvednikov
67912c692b ci: disable 2 jobs for now 2019-12-31 16:06:01 +01:00
Abdullah Atta
63b70ddb06 move http module to net.http 2019-12-30 05:42:23 +01:00
Delyan Angelov
482f4c1b6c ci: add a new periodic.yml file to test the networking modules 2019-12-29 11:33:33 +01:00
Delyan Angelov
0bdf9bbf4f Go back to github actions/checkout@v1 for most of the CI. (#3237) 2019-12-27 20:29:38 +01:00
Alexander Medvednikov
e71b99c528 ci: run on macos latest only 2019-12-27 19:17:09 +01:00
Delyan Angelov
6c16bac908 vfmt: it can now be used for _platform.v files too, no matter the host os 2019-12-27 17:59:04 +01:00
vitalyster
84fbd5b3d0 ci: add cross-compile job with llvm-mingw (#3233) 2019-12-27 17:57:49 +01:00
vitalyster
1d86f4b5d1 ensure that v fmt can be run over most .v files on each PR 2019-12-25 15:54:48 +03:00
Delyan Angelov
42b1660c7e move vfmt frontend program to tools/vfmt.v 2019-12-23 13:02:50 +03:00
Delyan Angelov
faca61c50a makefile: run make with -j4 on unix CIs 2019-12-22 00:09:33 +03:00
vitalyster
056454dff5 Fix CI 2019-12-13 18:41:35 +03:00
prime31
faedebbb4e sdl: separate sdl module into multiple, dependent submodules 2019-12-08 23:30:38 +03:00
Alexander Medvednikov
ef821379da v build-binaries: build v -g v.v and v -g -prod v.v 2019-12-08 21:16:06 +03:00
Alexander Medvednikov
e31bf63626 ci: test v -g v.v 2019-12-08 20:45:30 +03:00
Alexander Medvednikov
7d58dc2350 fix examples/v_script.vsh and add it to CI 2019-12-07 18:27:09 +03:00
Alexander Medvednikov
a594e009f2 test high order function 2019-12-07 16:13:25 +03:00
Alexander Medvednikov
f51784ee01 remove unnecessary casts everywhere 2019-12-07 15:51:00 +03:00
Alexander Medvednikov
d7ccbba2c9 do not allow casting a type to itself 2019-12-07 15:31:56 +03:00
Alexander Medvednikov
bdaa421e8a update 0.2 roadmap 2019-12-06 12:46:59 +03:00
Alexander Medvednikov
b8ab85ebe9 ci: sleep 3 before creating the db 2019-12-06 02:53:31 +03:00
Alexander Medvednikov
aed22a57e3 fixed size array with const length ([N]int) 2019-12-06 02:41:03 +03:00
Alexander Medvednikov
be323e2fb6 ci: set up pg database to test ORM 2019-12-06 02:11:39 +03:00
Alexander Medvednikov
a7054b68fd ci: install dependencies for package tests 2019-12-04 01:49:58 +03:00
Alexander Medvednikov
590566f8c4 ci: use new release links 2019-12-03 22:13:37 +03:00
Alexander Medvednikov
89d40566f4 ci: build examples with prebuilt V binaries 2019-12-03 17:34:48 +03:00
Alexander Medvednikov
c724c17a56 ci: test v symlink 2019-12-02 11:59:15 +03:00
Delyan Angelov
ee1edab2a9 implement 'v build-vbinaries' tooling 2019-12-01 16:12:51 +03:00
Delyan Angelov
ec15bfb7d1 v test v => v test-compiler 2019-12-01 12:50:13 +03:00
Alexander Medvednikov
e957fd6f30 fix ci.yml 2019-11-29 20:02:39 +03:00
Alexander Medvednikov
cca19b6ec4 fix ci.yml 2019-11-29 20:01:57 +03:00
Alexander Medvednikov
881584d04c V 0.1.23 2019-11-29 20:00:33 +03:00
Alexander Medvednikov
43d0199604 ci: test windows package 2019-11-29 19:47:57 +03:00
Alexander Medvednikov
ae171ec28e a small "v test v" fix 2019-11-29 19:32:07 +03:00
Alexander Medvednikov
cb2db3170e ci: test a prebuilt Linux package 2019-11-29 19:26:21 +03:00
Alexander Medvednikov
baaf57e396 ci: don't clone when testing the package 2019-11-29 19:21:38 +03:00
Alexander Medvednikov
d807a01d6b fix ci.yml 2019-11-29 19:19:18 +03:00
Alexander Medvednikov
1bfcdaa2cc ci: test the new prebuilt packages 2019-11-29 19:14:26 +03:00
Delyan Angelov
7545ea709a enable alpine/musl CI tests 2019-11-28 11:46:52 +03:00
Alexander Medvednikov
53307597b3 ci: install postgres on ubuntu 2019-11-26 10:15:04 +03:00
Alexander Medvednikov
eb5df5c03d fix ci.yml 2019-11-26 09:59:30 +03:00
Alexander Medvednikov
173eacce3f fix ci.yml 2019-11-26 09:48:08 +03:00
Alexander Medvednikov
db21438648 ci: build Vorum 2019-11-26 09:40:43 +03:00
Alexander Medvednikov
39adc984a8 ci: actually fix x64 2019-11-22 19:58:28 +03:00
Alexander Medvednikov
19fb46b5b1 ci: fix x64 test 2019-11-22 19:52:31 +03:00
Alexander Medvednikov
94318b1287 x64: use correct exe name and set +x 2019-11-22 19:09:14 +03:00
Alexander Medvednikov
956c605934 ci: test x64 machine codegen 2019-11-22 14:39:04 +03:00
Alexander Medvednikov
8e32ef382a fix v symlink 2019-11-20 18:27:46 +03:00
Alexander Medvednikov
43863edc4f remove asm test from msvc 2019-11-17 07:27:59 +03:00
Alexander Medvednikov
6ae8457f35 fix strings.Builder.str() 2019-11-17 07:05:13 +03:00
Alexander Medvednikov
791cee8a8e fix ci.yml 2019-11-16 09:34:57 +03:00
Alexander Medvednikov
751a89ccc8 ci: small fix 2019-11-15 02:33:25 +03:00
Alexander Medvednikov
0b3b241258 ci: test bare metal on linux 2019-11-15 01:20:22 +03:00
Alexander Medvednikov
bf669012e7 ci: fix a typo 2019-11-15 00:53:03 +03:00
Alexander Medvednikov
a04c3bac83 CI: ubuntu-musl target 2019-11-15 00:46:40 +03:00
Delyan Angelov
79599b7564 tests: enable tcc tests in CI 2019-11-11 23:27:31 +03:00
Alexander Medvednikov
1cda5c1bc8 skip tcc tests for now 2019-11-11 07:17:11 +03:00
Alexander Medvednikov
00b3557ce1 parser: start removing start_tmp() 2019-11-11 05:06:24 +03:00
Alexander Medvednikov
73bd82e706 Revert "ci: disable vid build for now"
This reverts commit e3ad367b80.
2019-11-10 05:29:51 +03:00
Alexander Medvednikov
e3ad367b80 ci: disable vid build for now 2019-11-06 07:06:03 +03:00
Alexander Medvednikov
6b4dcb916b ci: bring back Vid build 2019-10-30 19:36:54 +03:00
Alexander Medvednikov
44b99bc299 ci: don't run sqlite test on windows for now 2019-10-28 12:32:03 +03:00
Alexander Medvednikov
a7568ea54b ci: install libsqlite package 2019-10-28 11:45:27 +03:00
Alexander Medvednikov
07d37fbfc0 ci: remove vid for now 2019-10-27 21:40:26 +03:00
joe-conigliaro
60e7c12e92
put back temp removed flags and env vars (#2339) 2019-10-14 16:51:12 +11:00
joe-conigliaro
9a2b8a0814
compiler: move msvc compiler to -cc flag instead of -os (#2338)
* move msvc to -cc flag instead of -os

* undo unrelated change

* do first build without msvc

* remvove flags temp

* fix comment
2019-10-14 16:41:46 +11:00
joe-conigliaro
de10a529b0 CI: fix building v 2019-10-14 07:08:02 +03:00
Alexander Medvednikov
039dafb30f ci: fix ubuntu-gcc 2019-10-13 04:55:57 +03:00
Alexander Medvednikov
e7e0514379 no longer download vlib if it's missing 2019-10-10 23:20:41 +03:00
Alexander Medvednikov
48e13a3362 a small cached modules fix 2019-10-10 03:48:11 +03:00
Alexander Medvednikov
0525e6f76a ci: build V using V 2019-10-04 17:30:47 +03:00
Delyan Angelov
0160c7a89d compiler: change s.line_nr in just one place in tandem with s.last_nl_pos
* compiler: change s.line_nr in just one place, so that s.last_nl_pos will be updated in tandem too.

* v test v: run repl tests again

* Show gcc version in both windows gcc cases in a) github actions, and b) travis .

* adding inline to is_name_char is_nl and contains_capital does not help actually, just increases slightly binary size.

* Cleanup spurious spaces.
2019-09-28 20:41:11 +03:00
joe-conigliaro
a124d1f0eb CI: apt update 2019-09-25 15:41:34 +03:00
Alexander Medvednikov
69b498d85d CI: bring back vid test 2019-09-23 13:56:25 +03:00
joe-conigliaro
23c84516e2 compiler: error on unused imports 2019-09-23 13:42:20 +03:00
Delyan Angelov
7421781150 CI: split jobs into more steps; compiler: fix "v test v" with tcc 2019-09-22 17:24:15 +03:00
Zaoqi
104e4c9fc7 github actions: simplify ci.yml, test js backend on windows 2019-09-21 18:34:17 +03:00
joe-conigliaro
0d88e122be github actions: one os for each except win (GCC/MSVC) 2019-09-21 04:56:26 +03:00
Zaoqi
fd68c44dfa Add Github Actions 2019-09-20 19:05:53 +03:00