dshas
This commit is contained in:
parent
ab9d973d7c
commit
2c3e50e327
9
.github/workflows/cona-isa.yml
vendored
9
.github/workflows/cona-isa.yml
vendored
@ -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
|
||||||
|
|
||||||
|
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user