ci: improve on the `v up` job, using cmd/tools/oldv
parent
06369a27c2
commit
178ddfe9c0
|
@ -294,13 +294,7 @@ jobs:
|
||||||
echo "Building it..."
|
echo "Building it..."
|
||||||
../../vprod -backend x64 -o 1m 1m.v
|
../../vprod -backend x64 -o 1m 1m.v
|
||||||
echo "Running it..."
|
echo "Running it..."
|
||||||
ls
|
ls
|
||||||
- name: v up
|
|
||||||
run: |
|
|
||||||
git reset --hard HEAD~5
|
|
||||||
./v up
|
|
||||||
./v -o v2 cmd/v && ./v2 -o v3 cmd/v
|
|
||||||
|
|
||||||
# - name: SDL examples
|
# - name: SDL examples
|
||||||
# run: git clone --depth 1 https://github.com/vlang/sdl && cd sdl
|
# 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/regex_example_fuzz.v
|
||||||
./v test-parser examples/2048/2048_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
|
||||||
|
|
Loading…
Reference in New Issue