ci: update vab install (vlang/vab#176) (#14713)
parent
82594c0156
commit
8027919285
|
@ -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