From d521f4d6f350c4304b58a415229d7b5e5dc7474f Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 9 Nov 2024 09:27:17 +0300 Subject: [PATCH] ci: fix Build V --- ci/macos_ci.vsh | 8 -------- ci/macos_ci.yml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/ci/macos_ci.vsh b/ci/macos_ci.vsh index f706e58958..f9dd7aaf42 100644 --- a/ci/macos_ci.vsh +++ b/ci/macos_ci.vsh @@ -1,7 +1,6 @@ import os enum Command { - build_v test_symlink test_cross_compilation build_with_cstrict @@ -47,7 +46,6 @@ fn main() { fn run_step(step Command) { println('Running ${step}...') match step { - .build_v { build_v() } .test_symlink { test_symlink() } .test_cross_compilation { test_cross_compilation() } .build_with_cstrict { build_with_cstrict() } @@ -89,7 +87,6 @@ fn exec(command string) { // Map enum values to human readable step names fn get_step_name(step Command) string { return match step { - .build_v { 'Build V' } .test_symlink { 'Test symlink' } .test_cross_compilation { 'Test cross compilation to Linux' } .build_with_cstrict { 'Build V with -cstrict' } @@ -114,11 +111,6 @@ fn get_step_name(step Command) string { } // Step functions -fn build_v() { - exec('make -j4') - exec('./v symlink') -} - fn test_symlink() { exec('v symlink') } diff --git a/ci/macos_ci.yml b/ci/macos_ci.yml index 0a8568c116..87391ceffe 100644 --- a/ci/macos_ci.yml +++ b/ci/macos_ci.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build V - run: v run macos_ci.vsh build_v + run: make -j4 && ./v symlink - name: Test symlink run: v run macos_ci.vsh test_symlink - name: Test cross compilation to Linux