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

751 Commits

Author SHA1 Message Date
Delyan Angelov
9d8e307ed9
Add a link to the Q&A category in the discussions 2022-11-19 20:56:18 +02:00
Ulises Jeremias Cornejo Fandos
914007fd83
github: update templates to use latest github issues features (#16468) 2022-11-18 12:47:17 +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
Delyan Angelov
661d70a976
ci: run VLS tests with gcc on the main V repo too 2022-08-22 10:10:59 +03:00
Delyan Angelov
31067d4a6c
ci: ignore changed .md files in native_backend_tests.yml 2022-08-19 09:49:17 +03:00
Spydr
27c5ad03f6
native: initial linking support for linux (#15326) 2022-08-08 22:32:14 +03:00
Nacho Verdón
0555894e7f
.github: Add example on PR template title to avoid confusion (#15311) 2022-08-01 23:29:04 +03:00
Delyan Angelov
73b02cdf36
ci: fix spurious native_backend_tests.yml cancellations 2022-07-21 22:13:21 +03:00
Alexander Medvednikov
0afa2f76c8 ci: fix gitly ci 2022-07-19 13:53:05 +03:00
Larpon
02925cecd1
ci: fix report-missing-fn-doc (#15118) 2022-07-18 22:33:18 +03:00
Delyan Angelov
b59e6b1d06
ci: do periodic runs only in the main V repository (not in forks) 2022-07-12 11:03:59 +03:00
Delyan Angelov
662d0a3ef2
ci: change ci_bootstrapping_works.yml to a periodic run, *only* on the main repository. 2022-07-12 11:02:51 +03:00
Delyan Angelov
3549055548
ci: use v should-compile-all sdl/examples/ instead of the bash script that choked on v sdl/examples/assets 2022-07-10 20:05:04 +03:00
Larpon
9b1a616b13
ci: remove openrndr dependency from vgret testing (#14950) 2022-07-05 22:44:27 +03:00
Larpon
e08fedfd14
ci: add runtime DOOM checks via vgret (#14951) 2022-07-05 22:44:14 +03:00
Delyan Angelov
946da5556d
ci: add a c2v job too, that checks that Doom compiles. 2022-07-04 14:16:14 +03:00
Delyan Angelov
e156066acf
ci: fix gitly failure (compile gitly.scss to gitly.css) 2022-07-04 12:50:18 +03:00
Joe Conigliaro
c3866bb7b1
gen.golang: skip tests only on ubuntu-docker-musl 2022-06-29 21:11:28 +10:00
Joe Conigliaro
86549feafa
gen.golang: globally skip go backend tests & run only on ubuntu-tcc 2022-06-29 20:55:43 +10:00
Larpon
298dc77c38
ci: add pure -os android checks (#14837) 2022-06-23 11:22:55 +03:00
Larpon
3fb88500a2
os: improve Android interop (#14827) 2022-06-22 21:38:27 +03:00
pancake
23d1c792c0
native: fix macho generation for macos11-amd64 (#14821) 2022-06-22 11:58:27 +03:00
Delyan Angelov
74fb473301
ci: use unique concurrency.group for native_backend_tests.yml 2022-06-22 11:23:40 +03:00
Delyan Angelov
6c060b76fd
ci: fix v building inside native_backend_tests.yml 2022-06-22 11:19:00 +03:00
Delyan Angelov
48b2ab157b
ci: add a separate native_backend_tests.yml, to run the native tests on all the available github actions vm environments 2022-06-22 09:11:01 +03:00
Delyan Angelov
e2e3992e0d
ci: remove continue-on-error: true for most ci jobs (#14811) 2022-06-22 00:20:57 +03:00
pancake
1caff5b379
native: initial support for apple-m1 (#14795) 2022-06-20 21:25:12 +03:00
Delyan Angelov
b9cb56572f
ci: use VTEST_JUST_ESSENTIAL=1 for the -cstrict test-self task in ubuntu-clang too 2022-06-19 16:08:24 +03:00
Delyan Angelov
97be840a6d
ci: use VTEST_JUST_ESSENTIAL=1 for the ubuntu -cstrict gcc task (prevent 2 hour runs) 2022-06-19 13:29:36 +03:00
Delyan Angelov
b27b6b2047
tools: let v gret make an easily visible diff.png image after regressions, and upload it too, to make CI failures easier to diagnose 2022-06-10 15:38:50 +03:00
Delyan Angelov
f4869bcdc6 ci: add apt-get update before apt-get install in gg-regressions 2022-06-10 11:50:30 +03:00
Larpon
be23ddc253
ci: remove VFLAGS: -gc none from vab runs (#14731) 2022-06-09 15:37:53 +03:00
Delyan Angelov
e1360ccf8c
ci: add VTEST_JUST_ESSENTIAL=1 ./v test-self mode. Use it for alpine-docker-musl-gcc . 2022-06-09 15:26:52 +03:00
spaceface
4ed9780b80
all: enable -gc boehm by default (#14577) 2022-06-09 00:44:29 +03:00
Larpon
8027919285
ci: update vab install (vlang/vab#176) (#14713) 2022-06-07 12:51:43 +03:00
Hunam
d0a1608ede
ci: re-enable Go2V test suite (#14588) 2022-06-02 06:19:38 +03:00
Larpon
f3e7f24ee6
tools: implement v missdoc --diff oldv newv (#14537) 2022-05-27 18:19:06 +03:00
Larpon
95cc535fc7
ci: use missdoc as subcmd (#14524) 2022-05-25 19:07:07 +03:00
spaceface
ba859c584b
builtin: add static GC support on Windows with TCC (#14497) 2022-05-22 21:25:46 +03:00
spaceface
e5ff2ab455
ci: run on all branches on forks (#14498) 2022-05-22 20:19:04 +03:00
Ben
971c55cf30
os: add norm_path and abs_path function (#14435) 2022-05-21 01:16:29 +03:00
Daniel Däschle
d81fbb1ccd
ci: only run on master (#14476) 2022-05-20 18:27:35 +03:00
Delyan Angelov
25812e52f0
ci: use V_CI_CSTRICT=1 consistently for every v -cstrict test-self 2022-05-19 11:52:31 +03:00
Delyan Angelov
805a7d9713 ci: skip more .vv files on specific jobs 2022-05-18 20:04:59 +03:00
Delyan Angelov
dfa2d63616
ci: use VJOBS=1 for the macos v test-cleancode task too; cleanup periodic.yml 2022-05-17 19:55:28 +03:00
Delyan Angelov
da42f0d42b
ci: add an early step 'All code is formatted' to more workflows. 2022-05-17 13:14:08 +03:00
Delyan Angelov
b50f7fdc71
ci: simplify ci_sanitized.yml again; use v.exe fmt -verify vlib/builtin for windows/msvc instead of v test-cleancode 2022-05-15 10:54:31 +03:00
Delyan Angelov
3a09ccc80a
ci: restore .github/workflows/ to its state at cee7856, when all checks were done 2022-05-15 10:23:12 +03:00
Delyan Angelov
67963e0ff2
ci: further cleanup of ci_sanitized.yml 2022-05-14 20:34:01 +03:00
Delyan Angelov
1225a865a3
ci: simplify ci_sanitized.yml 2022-05-14 20:29:56 +03:00
Daniel Däschle
f0d46413d9
ci: require code to be formatted before everything else (minimise CI queue length) (#14396) 2022-05-14 15:38:15 +03:00
Delyan Angelov
cee7856c0f
ci: add a quick v test-cleancode check, before more costlier tasks 2022-05-13 12:24:11 +03:00
Delyan Angelov
c1bafe7a5a
ci: extract v_apps_and_modules_compile.yml 2022-05-13 11:02:24 +03:00
Delyan Angelov
df029da942
Revert "ci: run code-formatting job before everything else (try 2) (#14379)"
This reverts commit 0972e67f72.
2022-05-12 23:29:37 +03:00
Daniel Däschle
0972e67f72
ci: run code-formatting job before everything else (try 2) (#14379) 2022-05-12 21:58:11 +03:00
Delyan Angelov
f956acd2f6
ci: restore the v -autofree . step for gitly (gitly now has a workaround) 2022-05-07 12:55:40 +03:00
Delyan Angelov
9e8e364493
ci: comment out the go2v testing step for now 2022-05-07 12:55:39 +03:00
Delyan Angelov
785e9af8f1
ci: comment out the v -autofree . step for gitly temporarily 2022-05-05 09:20:08 +03:00
Delyan Angelov
5e8c4a3aff
ci: enable again the v install ui task 2022-04-21 11:21:59 +03:00
Delyan Angelov
c789ea5a15
ci: temporarily use git clone https://github.com/vlang/xyz ~/.vmodules/xyz instead of v install xyz 2022-04-21 09:20:15 +03:00
Delyan Angelov
31b28af179
bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111) 2022-04-21 00:12:50 +03:00
Delyan Angelov
379b638b57
ci: update windows-install-sqlite.bat to latest sqlite 2022-04-18 14:25:57 +03:00
spaceface
775c4c34b5
builtin: compile the gc statically by default (#14063) 2022-04-18 10:50:21 +03:00
Delyan Angelov
a62560d2c1
ci: fix generation of vc/v_win.c in gen_vc.yml 2022-04-14 13:44:18 +03:00
Delyan Angelov
e555335bf0
ci: fix windows-msvc builds, as well as the windows-cross job, turn on deprecation notices for [windows_stdcall] and [_fastcall] 2022-04-14 13:36:51 +03:00
Delyan Angelov
716cb17aea
math.big: wrap all asserts in module code (not in tests) in $if debug {} (#14012) 2022-04-12 09:38:53 +03:00
Vincenzo Palazzo
4666a27e5f
ci: introduce v benchmarks inside the ci workflow (#13949) 2022-04-07 12:21:13 +03:00
Alexander Medvednikov
829fed4af0 ci: build vpm again 2022-04-05 08:02:47 +03:00
yuyi
6987f2c087
time: fix error for time.local() on windows (#13892) 2022-04-01 17:16:46 +03:00
Delyan Angelov
fb5df9665e
ci: use ./v instead of v in "Shader examples could be build" step 2022-03-31 13:53:02 +03:00
Delyan Angelov
fa3fa2e74f
ci: add again sudo apt-get update for the Install dependencies step 2022-03-31 13:44:42 +03:00
Delyan Angelov
4222fd0862
ci: add vlang/pdf testing task, simplify other_ci.yml using v should-compile-all 2022-03-31 11:35:20 +03:00
Larpon
894080b844
ci: update sdl ci to compile shader example (#13805) 2022-03-22 17:36:23 +02:00
Delyan Angelov
4d99157cd5
ci: add go2v build & test job to other_ci.yml 2022-03-13 19:03:42 +02:00
Delyan Angelov
57c6454656
ci: bump timeout-minutes to 30 for 'Bootstraping works' job 2022-03-02 19:51:40 +02:00
Delyan Angelov
9535d38645
ci: fix concurrency.group name for containers_ci.yml 2022-02-24 16:00:57 +02:00
Delyan Angelov
9523c23e14
ci: bump timeout-minutes to 25 for ci_cross.yml 2022-02-24 12:04:04 +02:00
Delyan Angelov
a886242700
ci: extract ubuntu-docker-musl and alpine-docker-musl-gcc to containers_ci.yml, so they can be easily turned on/off in private github actions 2022-02-18 10:31:01 +02:00
Delyan Angelov
3bcd11260f
ci: move alpine-docker-musl-gcc and ubuntu-docker-musl to other_ci.yml 2022-02-18 10:25:04 +02:00
Delyan Angelov
554a689213
ci: be more verbose when running make.bat on the CI 2022-02-17 13:26:23 +02:00
Joe Conigliaro
6fc654821f
cgen: get usecache working with clang (fix duplicate symbols) 2022-02-17 22:17:07 +11:00
Delyan Angelov
d3b8ac2e46
ci: remove the -silent flag for CI jobs (the failing tests are listed at the end of the run anyway) 2022-02-16 21:02:36 +02:00
mint
73cf597bec
ci: remove now-useless mlibc stuff from Vinix workflow (#13471) 2022-02-15 11:19:28 +02:00
Delyan Angelov
89e9f8a00c
ci: fix vinix compilation to commit aa18fc0 (Meson building mlibc fails in a01546b) 2022-02-14 21:25:50 +02:00