Uwe Krüger
f3408a2484
gc: use optimized mode by default ( #10466 )
2021-06-15 15:43:00 +03:00
Delyan Angelov
46148760cc
ci: fix v-apps-compile by adding a 'Clone tree-sitter-v' task too
2021-06-14 14:50:33 +03:00
Delyan Angelov
adae5b9afd
ci: use sudo ./v symlink
in v-apps-compile job
2021-06-14 13:13:32 +03:00
Delyan Angelov
23f28f9336
ci: fix v-apps-compile job
2021-06-14 13:00:10 +03:00
Alexander Medvednikov
fa9fa77a5f
ci: fix vls test
2021-06-13 23:50:54 +03:00
Delyan Angelov
e2822356c2
periodic.yml: comment the 'Run network tests' tasks for now
2021-06-13 20:22:57 +03:00
Delyan Angelov
fc0095863f
Revert "ci: add on: [workflow_dispatch]
tag inside .github/workflows/periodic.yml"
...
This reverts commit 9d6b8830da
.
2021-06-13 20:21:27 +03:00
Delyan Angelov
9d6b8830da
ci: add on: [workflow_dispatch]
tag inside .github/workflows/periodic.yml
2021-06-10 09:04:22 +03:00
pancake
012f866619
native: support more arithmetic, int/string arrays, function returns and internal_strlen ( #10279 )
2021-06-06 16:19:10 +03:00
joe-conigliaro
4217f05146
checker/ci: workaround bug causing errors with -usecache (sumtype field access) & add more -usecache tests ( #10199 )
2021-05-25 12:28:18 +03:00
Delyan Angelov
40f11b265e
ci: run only ./v -d network test vlib/net
in periodic.yml
2021-05-24 11:26:49 +03:00
Larpon
ded8897671
ci: add vab job compiling v graphical examples ( #10171 )
2021-05-23 18:00:56 +03:00
Alexander Medvednikov
2a6a9c5222
ci: add -skip-unused test
2021-05-09 17:58:07 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode
test everything by default ( #10050 )
2021-05-08 13:32:29 +03:00
yuyi
600017d7fe
ci: fix CI failure (add 'sudo apt update' in the .yml files) ( #10049 )
2021-05-08 13:02:36 +03:00
pancake
6750ed254f
x64: rename to native
to not conflict with the x64 comptime variable
2021-04-27 12:24:58 +03:00
Delyan Angelov
59e23dbb57
ci: re-enable testing of ./v -freestanding run vlib/os/bare/bare_example_linux.v
on ubuntu
2021-04-22 12:50:56 +03:00
Lukas Neubert
dff50686d6
ci: build module docs on PRs too ( #9822 )
2021-04-20 17:10:21 +03:00
spaceface
73352583e7
ci: fix all -cstrict
warnings with gcc and clang ( #9792 )
2021-04-19 15:38:48 +03:00
Delyan Angelov
a761f6888f
ci: reorder the v-apps-compile job so it does not stop due to vpm timeout-ing
2021-04-17 21:10:56 +03:00
Delyan Angelov
7b1080a567
ci: fix -tcc32 job runs
2021-04-17 19:49:39 +03:00
Delyan Angelov
81d17f0a39
ci: add a windows-cross job to ci_cross.yml to prevent regressions
2021-04-17 19:31:39 +03:00
Delyan Angelov
d930944307
change trigger for debug_ci.yml
2021-04-17 16:19:17 +03:00
Delyan Angelov
a81abd4c10
debug 2
2021-04-17 16:12:11 +03:00
Delyan Angelov
889779e6a2
debug 1
2021-04-17 16:11:36 +03:00
Delyan Angelov
190673c547
ci: add a debug_ci.yml workflow
2021-04-17 16:08:18 +03:00
Delyan Angelov
d349e5a2e2
ci: use make.bat --verbose -msvc
to diagnose CI build failure
2021-04-17 15:52:46 +03:00
ka-weihe
25a9d30a70
channels: fix C warnings ( #9732 )
2021-04-15 01:44:39 +02:00
Delyan Angelov
7071e8b682
ci: use VJOBS=1 VTEST_SHOW_START=1 for the windows-tcc job too
2021-04-14 19:44:04 +03:00
Delyan Angelov
338705835f
ci: run sanitizers jobs in serial mode (with VJOBS=1)
2021-04-14 18:43:52 +03:00
Delyan Angelov
980521824f
ci: ignore changes to .md files in gen_vc.yml
2021-04-14 10:58:16 +03:00
Uwe Krüger
10bf974cda
all: gc: provide optimized mode ( #9716 )
2021-04-14 00:40:26 +02:00
Delyan Angelov
2b41556aa4
ci: do not install mingw-w64 in the ordinary ci macos job
2021-04-13 13:45:30 +03:00
Delyan Angelov
a31e265317
ci: split cross compilation jobs to their own ci_cross.yml file
2021-04-13 13:41:30 +03:00
Delyan Angelov
e5a52edd6b
ci: split sanitized jobs to their own ci_sanitized.yml file, bump their timeout to 60 minutes
2021-04-13 13:24:01 +03:00
Delyan Angelov
1b924fcf41
ci: bump timeout-minutes limit to 45 (the sanitizer test jobs are slow)
2021-04-13 09:18:45 +03:00
Delyan Angelov
21e52ee003
ci: add libgl-dev in jobs dependencies
2021-04-12 20:30:39 +03:00
Delyan Angelov
b54188dfea
ci: cleanup references to libglfw and libsdl2 (not used anymore)
2021-04-12 19:24:14 +03:00
ka-weihe
062ee4356d
ci: add v build-examples
steps to the sanitize jobs ( #9655 )
2021-04-09 23:39:02 +03:00
Delyan Angelov
f0a67a4813
ci: remove sources.list.d cleanup statements from all jobs (too many false positives)
2021-04-09 22:33:20 +03:00
Larpon
8caabf0e9e
sokol: update to floooh/sokol@c602d83 ( #9607 )
2021-04-07 20:39:23 +02:00
Alexander Medvednikov
6d77c8821b
ci: gen_vc: fix a race (p. 2)
2021-04-07 15:43:15 +03:00
Alexander Medvednikov
8dbe323dff
ci: gen_vc: fix a race
2021-04-07 15:34:11 +03:00
Delyan Angelov
4e6a176f42
ci: fix v up
job
2021-04-07 15:15:39 +03:00
Alexander Medvednikov
d883921483
Update gen_vc.yml
2021-04-07 02:39:03 +02:00
Alexander Medvednikov
1abc20e3e4
Update gen_vc.yml
2021-04-07 02:22:40 +02:00
Alexander Medvednikov
6d2d51a9cd
Update gen_vc.yml
2021-04-07 02:16:17 +02:00
Delyan Angelov
337f764367
github: change gen_vc.yml to use git config --global
(suggestion by spaceface)
2021-04-06 00:07:00 +03:00
spaceface
6ed50e7678
ci: add git authentication to the vc job ( #9599 )
2021-04-05 18:12:07 +03:00
spaceface
519c7194d7
vc: move the regeneration logic to CI ( #9597 )
2021-04-04 20:52:27 +02:00
Delyan Angelov
467c6ff726
ci: bump up the limits for the perf-regressions job
2021-03-27 17:26:47 +02:00
Uwe Krüger
3220ab7053
Boehm-GC: fix global const
handling ( #9477 )
...
* define global `__v_inside_init`
* unset `__v_inside_init` after `_vinit()`
* define `C.GC_MALLOC_UNCOLLECTABLE()`
* allocate uncollectable memory during `_vinit()`
* ci: run test cases with V copiler that uses GC-Boehm itself
* wrap `__v_inside_init` access into `#ifdef _VGCBOEHM`
2021-03-26 16:44:45 +02:00
penguindark
a2ef9967fe
examples: add .obj viewer as a sokol example ( #9456 )
2021-03-25 16:53:13 +01:00
Uwe Krüger
257eadd2e1
gc: add -gc boehm_leak
for leak detection ( #9464 )
2021-03-25 16:52:33 +01:00
Uwe Krüger
522d70b48d
builtin,cgen: fix -gc boehm issues with maps; add a CI job for it to prevent regressions ( #9453 )
2021-03-24 19:49:16 +02:00
ka-weihe
801da20fd9
ci: test-self (V compiled with -fsanitize=memory) ( #9423 )
2021-03-22 23:05:48 +01:00
Alexander Medvednikov
57b30507fa
ci: run v self with -prealloc
2021-03-22 12:08:08 +03:00
Alexander Medvednikov
8efea1e1c8
ci: build blog example with -autofree
2021-03-20 16:17:04 +03:00
Delyan Angelov
79a8e34e33
ci: add ./v doc clipboard
steps in the windows-tcc job too
2021-03-19 17:23:45 +02:00
Delyan Angelov
575ffb6881
Revert "ci: add ./v -W build-tools
to windows-tcc too"
...
This reverts commit 4ca2accc77
.
2021-03-19 15:53:56 +02:00
Delyan Angelov
4ca2accc77
ci: add ./v -W build-tools
to windows-tcc too
2021-03-19 15:44:19 +02:00
Delyan Angelov
d76e78719c
ci: separate v -autofree option_test.v
to its own step
2021-03-17 14:22:20 +02:00
Delyan Angelov
a08e673581
ci: add a step in misc-tooling
, to ensure v -autofree -o v2 cmd/v
does not regress
2021-03-16 23:04:42 +02:00
Delyan Angelov
d30750de92
ci: split misc-tooling into its own CI job
2021-03-16 21:25:35 +02:00
spaceface
906d28e9e4
ci: reduce the number of concurrent jobs ( #9301 )
2021-03-14 18:54:45 +02:00
Delyan Angelov
b6d089b605
v.depgraph: ensure v -d debug_realloc -o v cmd/v
works
2021-03-14 16:15:33 +02:00
Delyan Angelov
d22ea75449
ci: bump repeat --max_time limit for v -o v.c cmd/v
to 850ms
2021-03-10 17:40:17 +02:00
Delyan Angelov
bd312d194c
ci: allow some startup time for the Autobahn server (reduce flakyness)
2021-03-10 16:34:28 +02:00
Carlos Cobo
b68784aa7f
ci: remove double vab build ( #9217 )
2021-03-09 17:19:06 +02:00
Delyan Angelov
d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result ( #8974 )
2021-03-08 20:52:13 +02:00
StunxFS
c9a9f948be
tutorials: move vweb tutorial inside its own folder ( #8930 )
2021-03-04 15:24:07 +02:00
Ruofan XU
5807e1b3ae
make/test: clean 32-bit detection and test tcc32/tcc64 CI run ( #9001 )
2021-02-27 21:19:11 +03:00
Alexander Medvednikov
d39866d4f7
cgen: optionals/autofree fixes
2021-02-27 17:11:30 +03:00
Ruofan XU
1a8e502e2c
ci: add tcc32 CI on windows ( #8922 )
2021-02-25 12:52:12 +01:00
Delyan Angelov
34002c7c22
ci: add vex-compiles job
2021-02-23 18:04:48 +02:00
Delyan Angelov
b1209aac1b
ci: fix building of vlib/x/websocket/websocket_test.v
2021-02-21 17:03:25 +02:00
Delyan Angelov
07df2d3484
ci: fix missing jobs:
in websockets.yml
2021-02-21 16:42:09 +02:00
Delyan Angelov
772baa74f1
ci: shorten the new job name to just autobahn_tests
2021-02-21 16:38:46 +02:00
Delyan Angelov
f2ce72c2bf
ci: split the websockets tests into their own CI .yml file
2021-02-21 16:35:27 +02:00
ka-weihe
1039d39846
ci: test-self with address sanitized compiler ( #8866 )
2021-02-21 16:09:19 +02:00
kristof de spiegeleer
3f3bec45fa
examples: add a template example, update the regex examples ( #8829 )
2021-02-19 12:39:15 +02:00
Delyan Angelov
ac7feb9bca
ci: fix sokol_shader_examples.yml
2021-02-18 11:47:01 +02:00
penguindark
198b395cde
examples: add examples/sokol/05_instancing_glsl, cleanup code ( #8809 )
2021-02-18 11:11:26 +02:00
Ruofan XU
94acc27ee6
ci: enable v to js, build-examples, v doctor, build-vbinaries, self-compilation on all windows CI ( #8739 )
2021-02-15 17:12:22 +02:00
penguindark
325aef6d41
gg: add gg.m4, use it in the sokol GLSL examples ( #8755 )
2021-02-15 15:40:28 +02:00
odidev
2781a2b923
binary_artifact.yml: add a V release for Linux/ARM64 too ( #8698 )
...
Added 'build-linux-arm64' job with the QEMU support to the binary_artifact.yml file, to release vlang/v Linux/ARM64 zip archive.
Signed-off-by: odidev <odidev@puresoftware.com>
2021-02-12 20:08:55 +02:00
Ruofan XU
8b1337029f
ci: add build-examples task to tcc-windows CI ( #8653 )
2021-02-11 01:23:03 +01:00
Delyan Angelov
db2266598a
binary_artifact.yml: ensure v_old.exe is not in the release archives.
2021-02-10 11:06:17 +02:00
ka-weihe
367dbc7707
ci: add tests with -Werror ( #8630 )
2021-02-07 23:10:01 +01:00
Lukas Neubert
76ea3e7b41
tools/check-md: allow directories as args and deprecate -all flag ( #8582 )
2021-02-05 16:46:20 +01:00
Alexander Medvednikov
1084b43ffb
all: ast walker for marking unused fns
2021-02-05 08:05:35 +01:00
joe-conigliaro
ffedbe4b81
cgen: move cgen from v.gen to v.gen.c ( #8515 )
2021-02-02 15:41:51 +01:00
Delyan Angelov
8b0401a46f
ci: fix a performance-regressions bug, where vmaster was executed with cmd/v from the parent, but vlib from itself
2021-01-31 21:06:55 +02:00
Delyan Angelov
89bf48e3ba
ci: fix v -W build-examples
2021-01-31 10:43:49 +02:00
Ruofan XU
de8df1bbe3
ci: enable bootstrap with tcc on windows ( #8436 )
2021-01-30 11:02:25 +02:00
Delyan Angelov
90ecbde712
ci: increase the timeout for macos
2021-01-26 20:59:21 +02:00
Delyan Angelov
8520feee55
ci: use -cc tcc -no-retry-compilation
for all -tcc
jobs.
2021-01-25 18:56:21 +02:00
Delyan Angelov
ef6839286e
ci,tools: implement silent mode in ./v test-parser -S examples/cli.v
2021-01-23 18:53:47 +02:00
Tomas Hellström
39e5f6e9df
x.websocket: websocket server fix and bring back server autobahn ( #8291 )
2021-01-23 16:56:38 +01:00
yuyi
3628751199
ci: fix prebuild.yml ( #8269 )
2021-01-23 08:04:24 +02:00
Daniel Däschle
dbf84520f1
all: update assoc syntax ( #8274 )
2021-01-22 23:24:48 +01:00
Daniel Däschle
7c7df37abb
ci: re-enable vls-compiles ( #8273 )
2021-01-22 22:31:55 +02:00
Tomas Hellström
970c03987d
ci: temporarily comment the server tests for autobahn ( #8272 )
2021-01-22 22:30:53 +02:00
Daniel Däschle
500ebf77e4
all: implement multiple generics ( #8231 )
2021-01-22 13:49:56 +01:00
Delyan Angelov
927606dc39
tools: rename v test-compiler-full
to v test-self
2021-01-19 10:41:51 +02:00
Delyan Angelov
460f32baf2
tests: add v test-all
, move v test-fixed
to v test-compiler-full
2021-01-17 16:11:10 +02:00
penguindark
c067cc0357
vlib: add a TTF font loader and render in x.ttf
( #7995 )
2021-01-10 20:14:41 +02:00
Delyan Angelov
d0690fca1e
tools/check-md: implement -hide-warnings, use it to reduce noisiness of the output on the CI
2021-01-10 15:58:45 +02:00
yuyi
ab8fd063b6
ci: fix prebuilt.yml ( #7956 )
2021-01-08 10:21:26 +02:00
yuyi
5d1d68ffea
ci: increase test frequency of periodic ( #7952 )
2021-01-08 10:20:09 +02:00
Delyan Angelov
a8a81a1708
ci: add "Verify v test
works" tasks
2021-01-04 13:39:39 +02:00
Leandro Silva
86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox ( #7751 )
2021-01-03 16:56:55 +01:00
Alexander Medvednikov
0c77bdf8f6
tutorials: fix blog code
2021-01-01 20:38:22 +01:00
Alexander Medvednikov
7bcc5afbb6
ci: run tutorial
2021-01-01 20:25:49 +01:00
Delyan Angelov
2e8f187819
ci: use runs-on: ubuntu-20.04
consistently
2021-01-01 15:14:09 +02:00
Delyan Angelov
8e6f3a707b
binary_artifact.yml: mention ./cmd/tools/{vup,vdoctor} explicitly in actions/upload-artifact
2020-12-29 22:53:27 +02:00
Alexander Medvednikov
291160c32d
ci: build-vbinaries on windows
2020-12-29 21:24:33 +01:00
Delyan Angelov
468c37e186
binary_artifact.yml: add prebuilding of vup.exe and vdoctor.exe while making releases
2020-12-29 21:51:12 +02:00
Alexander Medvednikov
114df3ce7c
ci: bring back v self test on windows
2020-12-29 20:01:32 +01:00
ka-weihe
2c65c5c61a
ci: sanitize compiler for tests ( #7685 )
2020-12-29 20:27:57 +02:00
Larpon
e8cd056eb6
ci: add a vab-compiles
job ( #7687 )
2020-12-29 20:24:54 +02:00
Delyan Angelov
9728abf4bc
ci: add a vls-compiles
job too
2020-12-29 10:13:54 +02:00
ka-weihe
4d5ee0649c
ci: add test-fixed with -fsanitize ( #7665 )
2020-12-29 07:46:54 +02:00
Delyan Angelov
1a25b54adb
ci: change ci.yml
name to Code CI
, to ease filtering
2020-12-28 20:03:05 +02:00
Delyan Angelov
ae5cfa70e9
ci: be more verbose in the Updating V... job
2020-12-28 10:43:24 +02:00
Alexander Medvednikov
4dfb7dbffa
ci: do not stop if docs deployment fails
2020-12-23 20:04:54 +01:00
Delyan Angelov
f4c288215e
ci: use ./v build-tools
in ubuntu-tcc to diagnose errors more easily
2020-12-22 22:44:33 +02:00
spaceface
d0fe96da39
ci: update vmodules
docs on every commit ( #7363 )
2020-12-22 16:15:22 +01:00
Delyan Angelov
178ddfe9c0
ci: improve on the v up
job, using cmd/tools/oldv
2020-12-22 15:02:45 +02:00
Alexander Medvednikov
1b39408eb6
ci: test v up
2020-12-22 11:59:19 +01:00
Delyan Angelov
74f7a1a549
ci: run v build-examples
on windows jobs too
2020-12-21 19:51:20 +02:00
spaceface
c544cc508b
pref: fix cross-compiling graphical apps to Windows ( #7449 )
2020-12-21 19:45:12 +02:00
Delyan Angelov
75903052a8
ci: add a task for linux->windows -os windows examples/hello_world.v
2020-12-20 19:25:07 +02:00
Delyan Angelov
3a9034a0d0
dl: add a complete tested shared library generation/usage example
2020-12-15 18:22:07 +02:00
Delyan Angelov
d061a52829
ci: small cleanup of parser-silent-fuzzing
2020-12-15 11:21:24 +02:00
Delyan Angelov
d3bffd6cc8
ci: fix the ubuntu-tcc
job
2020-12-15 10:50:15 +02:00
ka-weihe
f57c7032b4
ci: fix sanitizers and add -fsanitize=undefined ( #7306 )
2020-12-14 06:34:47 +01:00
Uwe Krüger
591e523cf3
time: fix date parsing tests in winter for regions using DST ( #7304 )
2020-12-14 05:01:58 +01:00
Alexander Medvednikov
e6f651978e
ci: fix a syntax error
2020-12-13 02:23:49 +01:00
Alexander Medvednikov
c67fc4f3a7
ci: build tetris with -usecache on linux
2020-12-13 02:22:25 +01:00
ka-weihe
6bd70bc88a
ci: add ubuntu-clang ( #7295 )
2020-12-12 23:37:09 +01:00
ka-weihe
f3aac0bc6c
ci: add a valgrind test for self compiling ( #7294 )
2020-12-12 22:53:04 +01:00
Daniel Däschle
7e3e30aa9c
ci: add a parser fuzzer step too ( #7288 )
2020-12-12 15:20:38 +02:00
zakuro
5fec0d785a
time: fix timezone problems of parse_iso8601 ( #7272 )
2020-12-12 09:19:03 +01:00
Daniel Däschle
11808f9fa3
parser: fix silent errors ( #7271 )
2020-12-12 04:06:09 +01:00
Daniel Däschle
9c1a5c5117
parser: fix silent parsing examples/vmod.v ( #7264 )
2020-12-11 19:14:07 +02:00
Daniel Däschle
8823430c71
parser: small fixes to make silent mod work with example/json ( #7246 )
2020-12-11 06:55:39 +01:00
Daniel Däschle
aedd1d17b8
parser: fix v test-parser examples/cli.v
( #7243 )
2020-12-10 19:32:15 +02:00
Daniel Däschle
1c56ff7faf
parser: fix fibonacci in silent mode ( #7240 )
2020-12-10 18:17:25 +02:00
Daniel Däschle
8b3ffb9be2
scanner: fix when string literal ends after } ( #7237 )
2020-12-10 17:04:12 +02:00
Daniel Däschle
032ea0f4f8
scanner: fix silent mode string parsing ( #7220 )
2020-12-09 20:09:07 +01:00
Delyan Angelov
c7bea03ce3
ci: fix msvc _name_table [0]{} generation
2020-12-09 20:08:51 +02:00
Delyan Angelov
b565df25c3
make.bat: use just make.bat in the msvc CI job
2020-12-09 19:53:56 +02:00
Nick Treleaven
63557d0d02
checker: disallow op= and infix on a voidptr ( #7175 )
2020-12-07 22:43:38 +02:00
Delyan Angelov
9ea2608372
repeat: implement -nmaxs and -nmins to eliminate flukes
2020-12-04 19:44:30 +02:00
Alexander Medvednikov
0ea2fa228f
autofree: fix or {}
; ci: bring back gitly -autofree
2020-12-04 18:06:53 +01:00
Delyan Angelov
d60f148b0c
binary_artifact.yml: chmod 755 thirdparty/tcc/tcc.exe too
2020-12-04 14:08:18 +02:00
Alexander Medvednikov
34049f7135
ci: yaml is fun
2020-12-04 10:21:17 +01:00
Alexander Medvednikov
951d0ace89
ci: disable gitly -autofree for now
2020-12-04 10:16:07 +01:00
Alexander Medvednikov
b64945a6c0
autofree: lots of fixes in return_statement()
2020-12-04 10:10:40 +01:00
Alexander Medvednikov
da1c361cfe
ci: add the -usecache test to macos
2020-12-04 04:32:20 +01:00
Alexander Medvednikov
0c18b3bea6
ci: test -usecache
2020-12-04 04:01:13 +01:00
Delyan Angelov
b37550c279
binary_artifact.yml: unpack to a v/ folder as before.
2020-12-03 22:44:03 +02:00
Delyan Angelov
b8bb034f91
binary_artifact.yml: restore top level v_{linux,macos,windows}/ folder in the .zip files.
2020-12-03 16:56:39 +02:00
Alexander Medvednikov
110c7e6f90
workflows: build 0.* tags
2020-12-03 15:04:49 +01:00
Delyan Angelov
2f6757b315
binary_artifact.yml: chmod 755 the v executables before archiving them.
2020-12-03 12:51:28 +02:00
Delyan Angelov
b1e3db712e
binary_artifact.yml: restore .ctags.d/ and .github/ (helps vim/emacs users and running CI tests locally)
2020-12-03 11:52:09 +02:00
Delyan Angelov
97ed2bf211
make: remove obsolete references to /var/tmp/tcc
2020-12-03 09:17:31 +02:00
Alexander Medvednikov
9b7d717a9c
workflows: use v_linux.zip etc as asset names (part 2)
2020-12-01 04:07:28 +01:00
Alexander Medvednikov
971031d8cc
workflows: use v_linux.zip etc as asset names
2020-12-01 04:06:34 +01:00
Alexander Medvednikov
b1bff3f319
workflows: use ./v instead of v
2020-11-29 20:53:33 +01:00
ka-weihe
9367dcda10
all: fix remaining c warnings and add -Werror to CI ( #7021 )
2020-11-29 21:23:37 +02:00
Alexander Medvednikov
5eb7660608
workflows: releases: build v -prod
2020-11-29 19:57:12 +01:00
Delyan Angelov
adeebad2a6
compiler: use thirdparty/tcc/tcc.exe by default, when no explicit -cc is given ( #6598 )
2020-11-29 16:18:49 +01:00
Leah Lundqvist
80c4b8a17a
ci: automated builds when pushing "weekly.*" tags ( #7005 )
2020-11-29 02:16:10 +01:00
Alexander Medvednikov
22c173c1dc
ci: ci can't run tetris :)
2020-11-27 21:00:50 +01:00
Alexander Medvednikov
f135a9949c
ci: build tetris with -autofree
2020-11-27 20:41:17 +01:00
Delyan Angelov
413d14f53e
ci: run docs_ci.yml checks on *every commit*, not just when .md files change.
2020-11-27 12:44:39 +02:00
Alexander Medvednikov
8cef4e0433
ci: build ved with -autofree
2020-11-21 19:12:52 +01:00
Tomas Hellström
155aa6dac5
x.websocket: fix autobahn tests for wss and wss close behavor ( #6901 )
2020-11-21 15:45:45 +02:00
Lukas Neubert
268e3b5d15
ci: change "vid" to "ved" ( #6876 )
2020-11-19 16:22:51 +01:00
Delyan Angelov
40770f1697
ci: add timeout-minutes attributes for jobs
2020-11-19 13:16:18 +02:00
Lukas Neubert
df4165c7ee
docs_ci: check all md files except thirdparty ( #6855 )
2020-11-18 18:28:28 +01:00
Lukas Neubert
fdfe2a4e68
check-md: check CONTRIBUTING.md too ( #6847 )
2020-11-16 16:49:40 +01:00
Delyan Angelov
4559b4138f
cmd: rename test-vet to test-cleancode
2020-11-15 16:40:35 +02:00
Alexander Medvednikov
26785668c0
autofree: more tests; gg: fix draw_circle with hidpi
2020-11-15 15:09:44 +01:00
Tomas Hellström
68cfbd6d66
websocket: fix autobahn test to always use latest v( #6780 )
2020-11-08 17:46:06 +01:00
Tomas Hellström
b47c23b73e
x.websocket: fix the uri port parsing problem. Make failures more informative ( #6775 )
2020-11-07 18:14:33 +02:00
Alexander Medvednikov
0d8114e14d
ci: build gitly with -autofree
2020-11-07 04:07:43 +01:00
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
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
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
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