mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tools: make ./v symlink
work platform independent in CI (part 1) (#21453)
This commit is contained in:
parent
02d123a667
commit
6cda618ead
2 changed files with 22 additions and 6 deletions
14
.github/workflows/check_symlink_works.yml
vendored
14
.github/workflows/check_symlink_works.yml
vendored
|
@ -16,18 +16,20 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-sudo:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, macos-13]
|
||||
os: [ubuntu-20.04, macos-13, windows-2019]
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build V
|
||||
run: make -j4
|
||||
- name: Symlink
|
||||
run: sudo ./v symlink
|
||||
- name: Build and symlink (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: ./make.bat && ./v symlink
|
||||
- name: Build and symlink
|
||||
if: runner.os != 'Windows'
|
||||
run: make -j4 && sudo ./v symlink
|
||||
- name: Check if V is usable
|
||||
run: |
|
||||
pwd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue