File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 3939 sync_files : runner-to-vm
4040 run : |
4141 sudo pkg install -y git sqlite3 gmake boehm-gc-threaded libiconv
42+ # Install DB packages needed to build examples
43+ sudo pkg install -y mariadb118-client postgresql18-client
44+ # Install packages needed by Sokol to build examples
45+ sudo pkg install -y alsa-lib libglvnd libXi libXcursor
4246 # Mandatory: hostname not set in VM => some tests fail
4347 sudo hostname -s freebsd-ci
4448 echo "### OS infos"
6872 sync_files : runner-to-vm
6973 run : |
7074 sudo pkg install -y git sqlite3 gmake boehm-gc-threaded libiconv
75+ # Install DB packages needed to build examples
76+ sudo pkg install -y mariadb118-client postgresql18-client
77+ # Install packages needed by Sokol to build examples
78+ sudo pkg install -y alsa-lib libglvnd libXi libXcursor
7179 # Mandatory: hostname not set in VM => some tests fail
7280 sudo hostname -s freebsd-ci
7381 echo "### OS infos"
@@ -97,6 +105,10 @@ jobs:
97105 sync_files : runner-to-vm
98106 run : |
99107 sudo pkg install -y git sqlite3 gmake boehm-gc-threaded libiconv gcc
108+ # Install DB packages needed to build examples
109+ sudo pkg install -y mariadb118-client postgresql18-client
110+ # Install packages needed by Sokol to build examples
111+ sudo pkg install -y alsa-lib libglvnd libXi libXcursor
100112 # Mandatory: hostname not set in VM => some tests fail
101113 sudo hostname -s freebsd-ci
102114 echo "### OS infos"
Original file line number Diff line number Diff line change @@ -56,6 +56,14 @@ fn run_essential_tests() {
5656 }
5757}
5858
59+ fn build_examples() {
60+ if common.is_github_job {
61+ exec('v -W build-examples')
62+ } else {
63+ exec('v -progress build-examples')
64+ }
65+ }
66+
5967const all_tasks = {
6068 'v_doctor': Task{v_doctor, 'Run v doctor'}
6169 'build_v_with_prealloc': Task{build_v_with_prealloc, 'Build V with prealloc'}
@@ -64,6 +72,7 @@ const all_tasks = {
6472 'check_math': Task{check_math, 'Check the `math` module works'}
6573 'check_compress': Task{check_compress, 'Check the `compress` module works'}
6674 'run_essential_tests': Task{run_essential_tests, 'Run only the essential tests'}
75+ 'build_examples': Task{build_examples, 'Build examples'}
6776}
6877
6978common.run(all_tasks)
You can’t perform that action at this time.
0 commit comments