Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/freebsd_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
sync_files: runner-to-vm
run: |
sudo pkg install -y git sqlite3 gmake boehm-gc-threaded libiconv
# Install DB packages needed to build examples
sudo pkg install -y mariadb118-client postgresql18-client
# Install packages needed by Sokol to build examples
sudo pkg install -y alsa-lib libglvnd libXi libXcursor
# Mandatory: hostname not set in VM => some tests fail
sudo hostname -s freebsd-ci
echo "### OS infos"
Expand Down Expand Up @@ -68,6 +72,10 @@ jobs:
sync_files: runner-to-vm
run: |
sudo pkg install -y git sqlite3 gmake boehm-gc-threaded libiconv
# Install DB packages needed to build examples
sudo pkg install -y mariadb118-client postgresql18-client
# Install packages needed by Sokol to build examples
sudo pkg install -y alsa-lib libglvnd libXi libXcursor
# Mandatory: hostname not set in VM => some tests fail
sudo hostname -s freebsd-ci
echo "### OS infos"
Expand Down Expand Up @@ -97,6 +105,10 @@ jobs:
sync_files: runner-to-vm
run: |
sudo pkg install -y git sqlite3 gmake boehm-gc-threaded libiconv gcc
# Install DB packages needed to build examples
sudo pkg install -y mariadb118-client postgresql18-client
# Install packages needed by Sokol to build examples
sudo pkg install -y alsa-lib libglvnd libXi libXcursor
# Mandatory: hostname not set in VM => some tests fail
sudo hostname -s freebsd-ci
echo "### OS infos"
Expand Down
9 changes: 9 additions & 0 deletions ci/freebsd_ci.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ fn run_essential_tests() {
}
}

fn build_examples() {
if common.is_github_job {
exec('v -W build-examples')
} else {
exec('v -progress build-examples')
}
}

const all_tasks = {
'v_doctor': Task{v_doctor, 'Run v doctor'}
'build_v_with_prealloc': Task{build_v_with_prealloc, 'Build V with prealloc'}
Expand All @@ -64,6 +72,7 @@ const all_tasks = {
'check_math': Task{check_math, 'Check the `math` module works'}
'check_compress': Task{check_compress, 'Check the `compress` module works'}
'run_essential_tests': Task{run_essential_tests, 'Run only the essential tests'}
'build_examples': Task{build_examples, 'Build examples'}
}

common.run(all_tasks)
Loading