1 | env: |
2 | LANG: en_US.UTF-8 |
3 | |
4 | freebsd_instance: |
5 | image_family: freebsd-13-0 |
6 | |
7 | ## Note: all tasks should end with _script: here, otherwise they will not be picked up! |
8 | freebsd_task: |
9 | name: FreeBSD Code CI |
10 | timeout_in: 31m |
11 | skip: "!changesInclude('.cirrus.yml', '**.{v,vsh}', '**.c', '**.h')" |
12 | install_script: pkg install -y git |
13 | diagnose_env_script: | |
14 | ## env ## CIRRUS_WORKING_DIR is /tmp/cirrus-ci-build |
15 | pwd |
16 | ls -la |
17 | whoami |
18 | git log -n1 |
19 | echo 'number of detected processors:' |
20 | getconf _NPROCESSORS_ONLN |
21 | build_script: | |
22 | echo 'Building local V' |
23 | cc --version |
24 | make CFLAGS= |
25 | build_fast_script: | |
26 | ##.github/workflows/freebsd_build_tcc.sh |
27 | ##tcc -v -v |
28 | echo 'Build cmd/tools/fast' |
29 | cd cmd/tools/fast && ../../../v fast.v ## && ./fast -clang |
30 | test_math_script: | |
31 | echo 'Test the math module' |
32 | ./v test vlib/math |
33 | test_math_pure_v_script: | |
34 | echo 'Test the math module, using only the pure V versions, without the .c.v overrides' |
35 | ./v -exclude @vlib/math/*.c.v test vlib/math |
36 | test_zip_modules_script: | |
37 | echo 'Test modules using thirdparty/zip' |
38 | ./v test vlib/compress/ vlib/szip/ |
39 | test_self_script: | |
40 | echo 'Run test-self' |
41 | VTEST_JUST_ESSENTIAL=1 ./v test-self |