ci: run FreeBSD on a VM in github ci, instead of on the Cirrus service (which stopped working today) (#23692)

This commit is contained in:
Delyan Angelov 2025-02-11 17:35:04 +02:00 committed by GitHub
parent 2054d46722
commit b5d6f406af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 146 additions and 54 deletions

View file

@ -50,8 +50,8 @@ fn v_doctor() {
//
fn build_v_with_prealloc() {
exec('v -d debug_malloc -d debug_realloc -o v cmd/v')
exec('v -cg -cstrict -o v cmd/v')
exec('v -d debug_malloc -d debug_realloc -o vdebug1 cmd/v')
exec('v -cg -cstrict -o vstrict1 cmd/v')
exec('v -o vrealloc -prealloc cmd/v && ./vrealloc -o v3 cmd/v && ./v3 -o v4 cmd/v')
}
@ -68,7 +68,7 @@ fn install_dependencies_for_examples_and_tools_tcc() {
fn test_v_to_c_tcc() {
exec('thirdparty/tcc/tcc.exe -version')
exec('v -cg -o v cmd/v') // ensure vtcc can build itself twice
exec('v -cg -o vtcc cmd/v') // ensure vtcc can build itself twice
}
fn v_self_compilation_tcc() {
@ -175,7 +175,7 @@ fn install_dependencies_for_examples_and_tools_gcc() {
}
fn recompile_v_with_cstrict_gcc() {
exec('v -cc gcc -cg -cstrict -o v cmd/v')
exec('v -cc gcc -cg -cstrict -o vstrict cmd/v')
}
fn valgrind_v_c_gcc() {
@ -292,7 +292,7 @@ fn install_dependencies_for_examples_and_tools_clang() {
}
fn recompile_v_with_cstrict_clang() {
exec('v -cc clang -cg -cstrict -o v cmd/v')
exec('v -cc clang -cg -cstrict -o vstrict cmd/v')
}
fn valgrind_clang() {