-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into pe-refactor
* master: (128 commits) ci: update containers_ci.yml to not try to install libexecinfo-static, which is not present on the latest Alpine image checker: disallow module name duplicates in local names (vlang#18118) cgen: cleanup go_before_stmt(0) (vlang#19308) parser: disallow using `sql` as name (vlang#19298) fmt: cleanup fmt comments (vlang#19306) tests: supplement test cases in fixed_array_const_size_test.v (vlang#19303) vdoc: prevent main-content outline with certain devices / browsers (vlang#19304) cgen: fix printing struct with thread field (vlang#19302) vlib: replace macros that resolve to __builtin_bswapnn calls for tcc (vlang#19305) time: add `MMM` in the doc comment for parse_format() (vlang#19299) os: include sys/sysctl.h on FreeBSD to avoid implicit definition of sysctl function (vlang#19293) parser, transformer: fix transformer.infix_expr() and cleanup parse_types.v (related vlang#19269) (vlang#19276) fmt: simplify the processing logic for removing inline comments (vlang#19297) db.pg: allow postgres connection using service definitions (vlang#19288) builtin: use `libgc-threaded` on FreeBSD, to get the threaded version of libgc (vlang#19294) ci: test the pure V math versions without .c.v overrides on the CI too (vlang#19292) all: support `./v -exclude @vlib/math/*.c.v vlib/math/math_test.v`, for using the pure V math module implementation, without the .c.v overrides there. (vlang#19290) .cirrus.yml: change test_zip_modules -> test_zip_modules_script, so that the CI can recognise the new task name and execute it thirdparty/zip: properly include utime.h and set defines for FreeBSD (vlang#19285) math: fix pure v math.pow (vlang#19287) ...
- Loading branch information
Showing
279 changed files
with
7,982 additions
and
2,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,41 @@ | ||
env: | ||
LANG: en_US.UTF-8 | ||
|
||
freebsd_instance: | ||
image_family: freebsd-13-0 | ||
|
||
## Note: all tasks should end with _script: here, otherwise they will not be picked up! | ||
freebsd_task: | ||
name: Code CI / freebsd | ||
skip: "!changesInclude('.cirrus.yml', '**.{v,vsh}')" | ||
name: FreeBSD Code CI | ||
timeout_in: 31m | ||
skip: "!changesInclude('.cirrus.yml', '**.{v,vsh}', '**.c', '**.h')" | ||
install_script: pkg install -y git | ||
script: | | ||
echo 'Building V' | ||
git clone https://github.com/vlang/v | ||
cd v | ||
make | ||
diagnose_env_script: | | ||
## env ## CIRRUS_WORKING_DIR is /tmp/cirrus-ci-build | ||
pwd | ||
ls -la | ||
whoami | ||
git log -n1 | ||
echo 'number of detected processors:' | ||
getconf _NPROCESSORS_ONLN | ||
build_script: | | ||
echo 'Building local V' | ||
cc --version | ||
make CFLAGS= | ||
build_fast_script: | | ||
##.github/workflows/freebsd_build_tcc.sh | ||
##tcc -v -v | ||
echo 'Build cmd/tools/fast' | ||
cd cmd/tools/fast && ../../../v fast.v && ./fast -clang | ||
cd cmd/tools/fast && ../../../v fast.v ## && ./fast -clang | ||
test_math_script: | | ||
echo 'Test the math module' | ||
./v test vlib/math | ||
test_math_pure_v_script: | | ||
echo 'Test the math module, using only the pure V versions, without the .c.v overrides' | ||
./v -exclude @vlib/math/*.c.v test vlib/math | ||
test_zip_modules_script: | | ||
echo 'Test modules using thirdparty/zip' | ||
./v test vlib/compress/ vlib/szip/ | ||
test_self_script: | | ||
echo 'Run test-self' | ||
cd /tmp/cirrus-ci-build/v | ||
VTEST_JUST_ESSENTIAL=1 ./v test-self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
### Vectors | ||
|
||
```bash | ||
Benchmark 1: ./boids_test/bin/Release/net7.0/linux-x64/publish/boids_test | ||
Time (mean ± σ): 262.2 ms ± 5.7 ms [User: 231.6 ms, System: 14.1 ms] | ||
Range (min … max): 255.4 ms … 275.3 ms 11 runs | ||
|
||
Benchmark 2: ./vinted_report_generator/main | ||
Time (mean ± σ): 208.3 ms ± 1.9 ms [User: 205.4 ms, System: 1.6 ms] | ||
Range (min … max): 204.9 ms … 210.6 ms 14 runs | ||
|
||
Summary | ||
./vinted_report_generator/main ran | ||
1.26 ± 0.03 times faster than ./boids_test/bin/Release/net7.0/linux-x64/publish/boids_test | ||
``` |
Oops, something went wrong.