ci: fix v building inside native_backend_tests.yml

master
Delyan Angelov 2022-06-22 11:19:00 +03:00
parent 48b2ab157b
commit 6c060b76fd
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 13 additions and 3 deletions

View File

@ -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/