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
|
||||
run: make && sudo ./v symlink
|
||||
|
||||
- name: Checkout vab
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: vlang/vab
|
||||
path: vab
|
||||
|
||||
- name: Build vab
|
||||
- name: Install vab
|
||||
run: |
|
||||
cd vab
|
||||
v -g vab.v
|
||||
sudo ln -s $(pwd)/vab /usr/local/bin/vab
|
||||
v install vab
|
||||
v -g ~/.vmodules/vab
|
||||
sudo ln -s ~/.vmodules/vab/vab /usr/local/bin/vab
|
||||
|
||||
- name: Run tests
|
||||
run: v test vab
|
||||
run: v test ~/.vmodules/vab
|
||||
|
||||
- name: Run vab --help
|
||||
run: vab --help
|
||||
|
Loading…
Reference in New Issue
Block a user