From 6c060b76fd62934c01ae5d8923811c7cb42715fa Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 22 Jun 2022 11:19:00 +0300 Subject: [PATCH] ci: fix v building inside native_backend_tests.yml --- .github/workflows/native_backend_tests.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/native_backend_tests.yml b/.github/workflows/native_backend_tests.yml index d9f2cb65fd..d10c378060 100644 --- a/.github/workflows/native_backend_tests.yml +++ b/.github/workflows/native_backend_tests.yml @@ -20,7 +20,17 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - name: Build V - run: make + + - name: Build V with make.bat + if: ${{ startsWith(matrix.os, 'windows') }} + run: | + .\make.bat + .\v.exe symlink -githubci + - name: Build V with make + if: ${{ !startsWith(matrix.os, 'windows') }} + run: | + make + ./v symlink -githubci + - name: Test the native backend - run: ./v test vlib/v/gen/native/ + run: v test vlib/v/gen/native/