mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: continue testing independent V apps, even if one fails, to get feedback for breaking changes faster (#21302)
This commit is contained in:
parent
3f725fe96d
commit
5ac53f23ff
1 changed files with 26 additions and 10 deletions
|
@ -39,6 +39,7 @@ jobs:
|
||||||
run: .github/workflows/compile_v_with_vtcc.sh
|
run: .github/workflows/compile_v_with_vtcc.sh
|
||||||
|
|
||||||
- name: Test vsql compilation and examples
|
- name: Test vsql compilation and examples
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Install vsql"
|
echo "Install vsql"
|
||||||
.github/workflows/retry.sh v install https://github.com/ttytm/vsql@temp/vi-ci ; cd ~/.vmodules/vsql
|
.github/workflows/retry.sh v install https://github.com/ttytm/vsql@temp/vi-ci ; cd ~/.vmodules/vsql
|
||||||
|
@ -52,6 +53,7 @@ jobs:
|
||||||
v vsql/connection_test.v
|
v vsql/connection_test.v
|
||||||
|
|
||||||
- name: Test discord.v
|
- name: Test discord.v
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Clone https://github.com/DarpHome/discord.v"
|
echo "Clone https://github.com/DarpHome/discord.v"
|
||||||
.github/workflows/retry.sh v install https://github.com/ttytm/discord.v@temp/v-ci && cd ~/.vmodules/discord
|
.github/workflows/retry.sh v install https://github.com/ttytm/discord.v@temp/v-ci && cd ~/.vmodules/discord
|
||||||
|
@ -70,6 +72,7 @@ jobs:
|
||||||
v -g -gc boehm -skip-unused ~/.vmodules/vab
|
v -g -gc boehm -skip-unused ~/.vmodules/vab
|
||||||
|
|
||||||
- name: Build vlang/ved
|
- name: Build vlang/ved
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/ved
|
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/ved
|
||||||
cd ved && ../v -o ved .
|
cd ved && ../v -o ved .
|
||||||
|
@ -78,12 +81,14 @@ jobs:
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Build vlang/pdf
|
- name: Build vlang/pdf
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
.github/workflows/retry.sh v install pdf
|
.github/workflows/retry.sh v install pdf
|
||||||
echo "PDF examples should compile"
|
echo "PDF examples should compile"
|
||||||
v should-compile-all ~/.vmodules/pdf/examples
|
v should-compile-all ~/.vmodules/pdf/examples
|
||||||
|
|
||||||
- name: Build vlang/libsodium
|
- name: Build vlang/libsodium
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Install the libsodium wrapper"
|
echo "Install the libsodium wrapper"
|
||||||
.github/workflows/retry.sh v install libsodium
|
.github/workflows/retry.sh v install libsodium
|
||||||
|
@ -91,6 +96,7 @@ jobs:
|
||||||
VJOBS=1 v test ~/.vmodules/libsodium
|
VJOBS=1 v test ~/.vmodules/libsodium
|
||||||
|
|
||||||
- name: Build vlang/coreutils
|
- name: Build vlang/coreutils
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Clone Coreutils"
|
echo "Clone Coreutils"
|
||||||
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/coreutils /tmp/coreutils
|
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/coreutils /tmp/coreutils
|
||||||
|
@ -98,6 +104,7 @@ jobs:
|
||||||
cd /tmp/coreutils; make
|
cd /tmp/coreutils; make
|
||||||
|
|
||||||
- name: Build vlang/gitly
|
- name: Build vlang/gitly
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Install markdown"
|
echo "Install markdown"
|
||||||
.github/workflows/retry.sh v install markdown
|
.github/workflows/retry.sh v install markdown
|
||||||
|
@ -116,6 +123,7 @@ jobs:
|
||||||
# # /tmp/gitly/gitly -ci_run
|
# # /tmp/gitly/gitly -ci_run
|
||||||
|
|
||||||
- name: Build vlang/v-analyzer
|
- name: Build vlang/v-analyzer
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Clone v-analyzer"
|
echo "Clone v-analyzer"
|
||||||
.github/workflows/retry.sh git clone --depth=1 --filter=blob:none --recursive --shallow-submodules https://github.com/vlang/v-analyzer /tmp/v-analyzer
|
.github/workflows/retry.sh git clone --depth=1 --filter=blob:none --recursive --shallow-submodules https://github.com/vlang/v-analyzer /tmp/v-analyzer
|
||||||
|
@ -128,6 +136,7 @@ jobs:
|
||||||
v build.vsh release
|
v build.vsh release
|
||||||
|
|
||||||
- name: Format vlang/v-analyzer
|
- name: Format vlang/v-analyzer
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
cd /tmp/v-analyzer
|
cd /tmp/v-analyzer
|
||||||
set +e
|
set +e
|
||||||
|
@ -140,6 +149,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Build vlang/go2v
|
- name: Build vlang/go2v
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Clone Go2V"
|
echo "Clone Go2V"
|
||||||
.github/workflows/retry.sh git clone --depth=1 https://github.com/vlang/go2v /tmp/go2v/
|
.github/workflows/retry.sh git clone --depth=1 https://github.com/vlang/go2v /tmp/go2v/
|
||||||
|
@ -149,6 +159,7 @@ jobs:
|
||||||
VJOBS=1 v test /tmp/go2v/
|
VJOBS=1 v test /tmp/go2v/
|
||||||
|
|
||||||
- name: Install UI through VPM and make sure its examples compile
|
- name: Install UI through VPM and make sure its examples compile
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Official VPM modules should be installable"
|
echo "Official VPM modules should be installable"
|
||||||
.github/workflows/retry.sh v install ui
|
.github/workflows/retry.sh v install ui
|
||||||
|
@ -156,6 +167,7 @@ jobs:
|
||||||
v ~/.vmodules/ui/examples/build_examples.vsh
|
v ~/.vmodules/ui/examples/build_examples.vsh
|
||||||
|
|
||||||
- name: Build vlang/adventofcode
|
- name: Build vlang/adventofcode
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Clone the AdventOfCode repo"
|
echo "Clone the AdventOfCode repo"
|
||||||
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/adventofcode /tmp/adventofcode
|
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/adventofcode /tmp/adventofcode
|
||||||
|
@ -165,6 +177,7 @@ jobs:
|
||||||
cd /tmp/adventofcode && v run verify.v
|
cd /tmp/adventofcode && v run verify.v
|
||||||
|
|
||||||
- name: Build vlang/msgpack
|
- name: Build vlang/msgpack
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Install msgpack"
|
echo "Install msgpack"
|
||||||
.github/workflows/retry.sh v install msgpack
|
.github/workflows/retry.sh v install msgpack
|
||||||
|
@ -175,16 +188,17 @@ jobs:
|
||||||
echo "MessagePack examples should compile"
|
echo "MessagePack examples should compile"
|
||||||
v should-compile-all ~/.vmodules/msgpack/examples
|
v should-compile-all ~/.vmodules/msgpack/examples
|
||||||
|
|
||||||
# - name: Build VEX
|
# - name: Build VEX
|
||||||
# run: |
|
# if: ${{ always() }}
|
||||||
# echo "Install Vex"
|
# run: |
|
||||||
# .github/workflows/retry.sh v install nedpals.vex
|
# echo "Install Vex"
|
||||||
# echo "Compile all of the Vex examples"
|
# .github/workflows/retry.sh v install nedpals.vex
|
||||||
# v should-compile-all ~/.vmodules/nedpals/vex/examples
|
# echo "Compile all of the Vex examples"
|
||||||
# echo "Compile the simple Vex example with -skip-unused"
|
# v should-compile-all ~/.vmodules/nedpals/vex/examples
|
||||||
# v -skip-unused ~/.vmodules/nedpals/vex/examples/simple_example.v
|
# echo "Compile the simple Vex example with -skip-unused"
|
||||||
# echo "Run Vex Tests"
|
# v -skip-unused ~/.vmodules/nedpals/vex/examples/simple_example.v
|
||||||
# v test ~/.vmodules/nedpals/vex
|
# echo "Run Vex Tests"
|
||||||
|
# v test ~/.vmodules/nedpals/vex
|
||||||
|
|
||||||
vsl-and-vtl-compile:
|
vsl-and-vtl-compile:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -208,6 +222,7 @@ jobs:
|
||||||
.github/workflows/retry.sh sudo apt-get install --quiet -y --no-install-recommends libhdf5-cpp-103 libhdf5-dev libhdf5-mpi-dev hdf5-tools libopenmpi-dev opencl-headers liblapacke-dev libopenblas-dev ## needed by VSL
|
.github/workflows/retry.sh sudo apt-get install --quiet -y --no-install-recommends libhdf5-cpp-103 libhdf5-dev libhdf5-mpi-dev hdf5-tools libopenmpi-dev opencl-headers liblapacke-dev libopenblas-dev ## needed by VSL
|
||||||
|
|
||||||
- name: Build vlang/vsl
|
- name: Build vlang/vsl
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Installing dependencies"
|
echo "Installing dependencies"
|
||||||
.github/workflows/retry.sh sudo apt-get install --quiet -y --no-install-recommends \
|
.github/workflows/retry.sh sudo apt-get install --quiet -y --no-install-recommends \
|
||||||
|
@ -229,6 +244,7 @@ jobs:
|
||||||
~/.vmodules/vsl/bin/test --use-cblas
|
~/.vmodules/vsl/bin/test --use-cblas
|
||||||
|
|
||||||
- name: Build vlang/vtl
|
- name: Build vlang/vtl
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
echo "Install VTL"
|
echo "Install VTL"
|
||||||
.github/workflows/retry.sh v install vtl
|
.github/workflows/retry.sh v install vtl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue