mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: update vab install (vlang/vab#176) (#14713)
This commit is contained in:
parent
82594c0156
commit
8027919285
16
.github/workflows/vab_ci.yml
vendored
16
.github/workflows/vab_ci.yml
vendored
@ -25,20 +25,14 @@ jobs:
|
|||||||
- name: Build V
|
- name: Build V
|
||||||
run: make && sudo ./v symlink
|
run: make && sudo ./v symlink
|
||||||
|
|
||||||
- name: Checkout vab
|
- name: Install vab
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: vlang/vab
|
|
||||||
path: vab
|
|
||||||
|
|
||||||
- name: Build vab
|
|
||||||
run: |
|
run: |
|
||||||
cd vab
|
v install vab
|
||||||
v -g vab.v
|
v -g ~/.vmodules/vab
|
||||||
sudo ln -s $(pwd)/vab /usr/local/bin/vab
|
sudo ln -s ~/.vmodules/vab/vab /usr/local/bin/vab
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: v test vab
|
run: v test ~/.vmodules/vab
|
||||||
|
|
||||||
- name: Run vab --help
|
- name: Run vab --help
|
||||||
run: vab --help
|
run: vab --help
|
||||||
|
Loading…
Reference in New Issue
Block a user