ci: update vab install (vlang/vab#176) (#14713)

master
Larpon 2022-06-07 11:51:43 +02:00 committed by GitHub
parent 82594c0156
commit 8027919285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 11 deletions

View File

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