From 80c278222cb422aa431d96ee70442a599d662f74 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 21 Apr 2022 09:20:08 +0300 Subject: [PATCH] ci: temporarily use `git clone https://github.com/vlang/xyz ~/.vmodules/xyz` instead of `v install xyz` --- .github/workflows/other_ci.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/other_ci.yml b/.github/workflows/other_ci.yml index a56de0d90c..a3e1bd3402 100644 --- a/.github/workflows/other_ci.yml +++ b/.github/workflows/other_ci.yml @@ -210,7 +210,7 @@ jobs: ## gitly - name: Install markdown - run: ./v install markdown + run: git clone https://github.com/vlang/markdown ~/.vmodules/markdown - name: Build Gitly run: | git clone --depth 1 https://github.com/vlang/gitly @@ -222,6 +222,15 @@ jobs: ./x 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 - name: Install Vex dependencies run: sudo apt-get install --quiet -y libsodium-dev libssl-dev sqlite3 libsqlite3-dev @@ -234,18 +243,6 @@ jobs: - name: Run Vex Tests 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 - name: Clone & Build 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/ - name: PDF examples should compile 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