ci: temporarily use `git clone https://github.com/vlang/xyz ~/.vmodules/xyz` instead of `v install xyz`

Delyan Angelov 2022-04-21 09:20:08 +03:00 committed by Jef Roosens
parent 864a4ffa6c
commit 80c278222c
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 15 additions and 13 deletions

View File

@ -210,7 +210,7 @@ jobs:
## gitly ## gitly
- name: Install markdown - name: Install markdown
run: ./v install markdown run: git clone https://github.com/vlang/markdown ~/.vmodules/markdown
- name: Build Gitly - name: Build Gitly
run: | run: |
git clone --depth 1 https://github.com/vlang/gitly git clone --depth 1 https://github.com/vlang/gitly
@ -222,6 +222,15 @@ jobs:
./x ./x
cd .. cd ..
## libsodium
- name: Install libsodium-dev package
run: sudo apt-get install --quiet -y libsodium-dev
- name: Install the libsodium wrapper
run: git clone https://github.com/vlang/libsodium ~/.vmodules/libsodium
- name: Test libsodium
run: VJOBS=1 ./v -stats test ~/.vmodules/libsodium
## vex ## vex
- name: Install Vex dependencies - name: Install Vex dependencies
run: sudo apt-get install --quiet -y libsodium-dev libssl-dev sqlite3 libsqlite3-dev run: sudo apt-get install --quiet -y libsodium-dev libssl-dev sqlite3 libsqlite3-dev
@ -234,18 +243,6 @@ jobs:
- name: Run Vex Tests - name: Run Vex Tests
run: ./v test ~/.vmodules/nedpals/vex run: ./v test ~/.vmodules/nedpals/vex
## vpm modules
- name: Install UI through VPM
run: ./v install ui
## libsodium
- name: Install libsodium-dev package
run: sudo apt-get install --quiet -y libsodium-dev
- name: Installl the libsodium wrapper through VPM
run: ./v install libsodium
- name: Test libsodium
run: VJOBS=1 ./v -stats test ~/.vmodules/libsodium
## Go2V ## Go2V
- name: Clone & Build go2v - name: Clone & Build go2v
run: git clone --depth=1 https://github.com/vlang/go2v go2v/ run: git clone --depth=1 https://github.com/vlang/go2v go2v/
@ -259,3 +256,8 @@ jobs:
run: git clone --depth=1 https://github.com/vlang/pdf ~/.vmodules/pdf/ run: git clone --depth=1 https://github.com/vlang/pdf ~/.vmodules/pdf/
- name: PDF examples should compile - name: PDF examples should compile
run: ./v should-compile-all ~/.vmodules/pdf/examples run: ./v should-compile-all ~/.vmodules/pdf/examples
## Due to temporary problems with https://vpm.vlang.io, the following is commented for now.
## ## vpm modules
## - name: Install UI through VPM
## run: ./v install ui