ci: improve on the `v up` job, using cmd/tools/oldv

pull/7462/head
Delyan Angelov 2020-12-22 14:58:18 +02:00
parent 06369a27c2
commit 178ddfe9c0
1 changed files with 22 additions and 7 deletions

View File

@ -294,13 +294,7 @@ jobs:
echo "Building it..."
../../vprod -backend x64 -o 1m 1m.v
echo "Running it..."
ls
- name: v up
run: |
git reset --hard HEAD~5
./v up
./v -o v2 cmd/v && ./v2 -o v3 cmd/v
ls
# - name: SDL examples
# run: git clone --depth 1 https://github.com/vlang/sdl && cd sdl
@ -753,3 +747,24 @@ jobs:
./v test-parser examples/regex_example_fuzz.v
./v test-parser examples/2048/2048_fuzz.v
v-up-works-on-ubuntu:
runs-on: ubuntu-18.04
timeout-minutes: 30
env:
VFLAGS: -cc tcc
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 10
- name: Build local v
run: make -j4
- name: v up
run: |
./v cmd/tools/oldv.v
./cmd/tools/oldv HEAD^^^^^
cd /tmp/v_at_HEAD_____/
./v version
./v up
./v version
./v -o v2 cmd/v
./v2 -o v3 cmd/v