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

698 Commits

Author SHA1 Message Date
Alexander Medvednikov
1aadd3e59c ci: build news fetcher with -prod 2023-05-13 02:15:58 +02:00
Delyan Angelov
bf749b3559
ci: add test jobs for the wasm module, for macos, linux and windows (#17972) 2023-04-16 14:52:00 +03:00
Delyan Angelov
093e5c68b9
ci: bump performance-regressions max_time limit to 1701, to reduce chance of false positive failures from slow CI runners 2023-04-13 19:10:00 +03:00
Swastik Baranwal
1dcec62c19
checker: disallow top level decl builtin fn (#17857) 2023-04-03 17:30:05 +03:00
Delyan Angelov
ae6fc64fb3
ci: bump the timeout to 181 minutes for the windows-msvc and windows-gcc jobs 2023-03-30 09:01:15 +03:00
Thomas Mangin
580d9cedc7
termios: new termios module (#17792)
* termio: new termio module

move the tcgetattr and tcsetattr functions in a new termio module.
The code needed refactoring as different OS have different fields
size, position and number for the C.termios structure, which
could not be correctly expressed consitently otherwise.

It has the positive side effect to reduce the number of unsafe calls.
New testing code was also added for the readline module as it is
relying of the feature.

* apply 2023 copyright to the new files too
2023-03-30 08:58:52 +03:00
walking devel
d0e78b1da6
parser: breaking change, let V ORM queries return arrays for *all* non-count queries, including limit = 1 (#17719) 2023-03-22 09:48:01 +02:00
Delyan Angelov
2e7dd8543a ci: fix failing vlang/vpm test jobs 2023-03-15 16:54:16 +02:00
Delyan Angelov
e2daa84a33
ci: add windows and macos jobs for checking the wasm backend too (#17451) 2023-03-01 21:53:03 +02:00
l-m
0625caad56
wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
Delyan Angelov
524c500146
cgen: add requires to c_reserved, so that V generated code, can be compiled with -cc g++-11 -no-std -cflags -std=c++20 as well (#17404) 2023-02-25 16:50:48 +02:00
Delyan Angelov
e7bf33b206
ci: replace node-version: 12.x with node-version: 16 too 2023-02-25 14:29:00 +02:00
Delyan Angelov
2327f0781b
ci: replace actions/setup-node@v1 with actions/setup-node@v3 2023-02-25 14:25:58 +02:00
Delyan Angelov
b1ed1d3b32
ci: upgrade to actions/checkout@v3 to avoid deprecation warnings in the CI about that action using Node.js 12 2023-02-21 13:40:24 +02:00
Delyan Angelov
4a81272914
ci: upgrade sdl_ci.yml and native_backend_tests_ci.yml, to ubuntu-20.04, to avoid ci failures, due to the brownout period, for the deprecated ubuntu-18.04 2023-02-21 13:35:35 +02:00
ChAoS_UnItY
404a9aa442
v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
Delyan Angelov
12f9e922bc
ci: rename all github actions workflow files, that are related to CI (run on commits/PRs), to have a _ci.yml postfix 2023-01-19 14:38:33 +02:00
Delyan Angelov
c7a829e74f
ci: split windows/linux/macos jobs from the single ci.yml to 3 separate .yml files
This split is needed, so failing jobs on macos/windows, could be restarted
independently from each other more easily, through the web interface on github.
2023-01-19 14:32:55 +02:00
Delyan Angelov
7e05545a62
ci: v install pcre too, since it is now needed for gitly 2023-01-14 11:22:25 +02:00
Delyan Angelov
33191e4538
ci,pg,net.openssl: fix pkgconfig paths for macos-12 2023-01-12 15:22:08 +02:00
Delyan Angelov
9e78724a41 ci: use brew install libpq for installing the postgresql development libraries on macos 2023-01-12 11:54:55 +02:00
Alexander Medvednikov
22666f4f73 ci: build vpm on macos 2023-01-12 09:54:52 +03:00
Delyan Angelov
942130ff6e
ci: make the v gret steps more robust to slow CI runners 2023-01-08 14:56:22 +02:00
Delyan Angelov
afdb09708e
ci: comment out the -autofree compilation for gitly for now 2022-12-27 20:51:45 +02:00
Delyan Angelov
728b4cffc3
ci: reorder v_apps_and_modules_compile.yml so that quick checks are done first 2022-12-26 12:56:36 +02:00
Felipe Pena
e9cad6f09d
ci: fix v-apps-compile job for AdventOfCode, by adding v install regex too (#16752)
Missing pcre dependency
2022-12-24 06:14:48 +02:00
yuyi
fd472d2d41
toml: minor cleanup in toml tests (#16679) 2022-12-15 10:16:42 +02:00
Delyan Angelov
3fa23b789c
ci: add new dependencies for VSL (hdf5 libs and tools) 2022-12-15 08:37:10 +02:00
Delyan Angelov
34f5255bb5
ci: fix a failing test for v test .github/workflows 2022-12-14 17:02:01 +02:00
Delyan Angelov
d62fc777c9
ci: add a 'Build AdventOfCode' step in the v-apps-compile job 2022-12-08 11:15:07 +02:00
Delyan Angelov
94dc3c1c36
ci: fix the platform image for gg-regressions to ubuntu-20.04 (github is migrating ubuntu-latest to 22.04) 2022-12-06 09:13:02 +02:00
Delyan Angelov
70fed41660
ci: override VTMP to /tmp for the jobs gg-regressions and doom-regressions 2022-12-05 17:07:48 +02:00
Swastik Baranwal
ce06c2818d
checker: add disallow none operations and range (#16584) 2022-12-05 08:50:36 +02:00
Delyan Angelov
886abcdf59
ci: bump timeout-minutes to 240, for all sanitized jobs 2022-11-17 17:35:51 +02:00
Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.

NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
Alexander Medvednikov
18c7da9a5e all: new string interpolation "hello {name}!" 2022-10-27 11:01:01 +03:00
Delyan Angelov
b40f1828b2
ci: re-enable building VEX in v_apps_and_modules_compile.yml 2022-10-21 10:44:59 +03:00
yuyi
51f4d99399
all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
Delyan Angelov
a7b2b3c70e
ci: fix ci.yml (add the second missing required run: line to a task) 2022-10-10 03:48:20 +03:00
Delyan Angelov
a4e8b9cabe
ci: fix ci.yml (add missing required run: line to a task) 2022-10-10 03:43:00 +03:00
Alexander Medvednikov
3d2588f101 cgen: parallel cc for much faster compilation using all CPU cores 2022-10-01 10:04:06 +03:00
Delyan Angelov
04f818fefc
ci: cleanup paths-ignore: usage in ci_sanitized.yml and native_backend_tests.yml 2022-09-18 18:47:41 +03:00
Delyan Angelov
0992914bd6
ci: remove macos-10.15 runner (affected by a brownout, and scheduled to be removed in 12/1/2022)
See: https://github.com/actions/runner-images/issues/5583
The brownouts for this runner image, will get increasingly more frequent.
2022-09-16 21:01:52 +03:00
Delyan Angelov
e7725bb340
ci: enable again failing on Doom visual mismatches. Increase Xvfb screen size in c2v.yml (better see Doom screenshots when there is a difference) 2022-09-09 17:51:03 +03:00
Delyan Angelov
57802aaffc
ci: install xsel and xclip on the jobs where imgur.sh is used 2022-09-04 13:46:27 +03:00
Delyan Angelov
cee8b38221
ci: disable job failure on doom picture regressions for now 2022-09-04 13:04:02 +03:00
Larpon
1915bf81d0
ci: use ubuntu-latest for toml tests (#15591) 2022-08-29 12:43:50 +03:00
Delyan Angelov
a1e87664f4
ci: minimise work on commits/PRs, that affect only .yml files 2022-08-26 21:07:33 +03:00
Delyan Angelov
511cc2b267
ci: prevent native-backend jobs from separate PRs to cancel each other 2022-08-26 20:58:19 +03:00
Subhomoy Haldar
3b42f18dee
os: add input_password(prompt) and unit tests (#15507) 2022-08-23 18:17:38 +03:00