This commit is contained in:
Kreyren 2020-02-07 18:22:07 +00:00
parent ab9d973d7c
commit 2c3e50e327
2 changed files with 1 additions and 10 deletions

@ -119,11 +119,6 @@ jobs:
[ ! -f "$HOME/.cache/vlang-0.1.24.zip" ] && wget https://github.com/vlang/v/releases/download/0.1.24/v_linux.zip -O "$HOME/.cache/vlang-0.1.24.zip" [ ! -f "$HOME/.cache/vlang-0.1.24.zip" ] && wget https://github.com/vlang/v/releases/download/0.1.24/v_linux.zip -O "$HOME/.cache/vlang-0.1.24.zip"
# Extract # Extract
[ ! -x "/opt/vlang/v" ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang [ ! -x "/opt/vlang/v" ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang
# Symlink
[ ! -h "/usr/bin/v" ] && ln -sf /opt/vlang/v /usr/bin/v
echo hello
ls -la /usr/bin/v
echo hmm
- name: make build-vlang - name: make build-vlang
run: make build-vlang run: make build-vlang
check-vlang: check-vlang:
@ -138,8 +133,6 @@ jobs:
[ ! -f "$HOME/.cache/vlang-0.1.24.zip" ] && wget https://github.com/vlang/v/releases/download/0.1.24/v_linux.zip -O "$HOME/.cache/vlang-0.1.24.zip" [ ! -f "$HOME/.cache/vlang-0.1.24.zip" ] && wget https://github.com/vlang/v/releases/download/0.1.24/v_linux.zip -O "$HOME/.cache/vlang-0.1.24.zip"
# Extract # Extract
[ ! -x "/opt/vlang/v" ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang [ ! -x "/opt/vlang/v" ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang
# Symlink
[ ! -h "/usr/bin/v" ] && ln -sf /usr/bin/v /opt/vlang/v
- name: make check-vlang - name: make check-vlang
run: make check-vlang run: make check-vlang
bench-vlang: bench-vlang:
@ -154,8 +147,6 @@ jobs:
[ ! -f "$HOME/.cache/vlang-0.1.24.zip" ] && wget https://github.com/vlang/v/releases/download/0.1.24/v_linux.zip -O "$HOME/.cache/vlang-0.1.24.zip" [ ! -f "$HOME/.cache/vlang-0.1.24.zip" ] && wget https://github.com/vlang/v/releases/download/0.1.24/v_linux.zip -O "$HOME/.cache/vlang-0.1.24.zip"
# Extract # Extract
[ ! -x /opt/vlang/v ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang [ ! -x /opt/vlang/v ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang
# Symlink
[ ! -h "/usr/bin/v" ] && ln -sf /usr/bin/v /opt/vlang/v
- name: make bench-vlang - name: make bench-vlang
run: make bench-vlang run: make bench-vlang

@ -71,7 +71,7 @@ build-python:
build-vlang: build-vlang:
@ [ ! -d build ] && mkdir build @ [ ! -d build ] && mkdir build
@ [ ! -d build/build-vlang ] && mkdir build/build-vlang @ [ ! -d build/build-vlang ] && mkdir build/build-vlang
@ v -o build/build-vlang/zernit-vlang src/bin/main.v @ /opt/vlang/v -o build/build-vlang/zernit-vlang src/bin/main.v
build-golang: build-golang:
@ [ ! -d build ] && mkdir build @ [ ! -d build ] && mkdir build