ci: add a `vls-compiles` job too

pull/7679/head
Delyan Angelov 2020-12-29 10:13:54 +02:00
parent 84fc9cec4b
commit 9728abf4bc
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 14 additions and 0 deletions

View File

@ -837,3 +837,17 @@ jobs:
./v version
./v -o v2 cmd/v
./v2 -o v3 cmd/v
vls-compiles:
runs-on: ubuntu-18.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Build V
run: make -j2 && ./v -cc gcc -o v cmd/v
- name: Clone VLS
run: git clone --depth 1 https://github.com/vlang/vls
- name: Build VLS
run: cd vls; ../v cmd/vls ; cd ..
- name: Build VLS with -prod
run: cd vls; ../v -prod cmd/vls ; cd ..