mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32: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
|
||||
|
||||
- name: Test vsql compilation and examples
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Install 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
|
||||
|
||||
- name: Test discord.v
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
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
|
||||
|
@ -70,6 +72,7 @@ jobs:
|
|||
v -g -gc boehm -skip-unused ~/.vmodules/vab
|
||||
|
||||
- name: Build vlang/ved
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
.github/workflows/retry.sh git clone --depth 1 https://github.com/vlang/ved
|
||||
cd ved && ../v -o ved .
|
||||
|
@ -78,12 +81,14 @@ jobs:
|
|||
cd ..
|
||||
|
||||
- name: Build vlang/pdf
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
.github/workflows/retry.sh v install pdf
|
||||
echo "PDF examples should compile"
|
||||
v should-compile-all ~/.vmodules/pdf/examples
|
||||
|
||||
- name: Build vlang/libsodium
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Install the libsodium wrapper"
|
||||
.github/workflows/retry.sh v install libsodium
|
||||
|
@ -91,6 +96,7 @@ jobs:
|
|||
VJOBS=1 v test ~/.vmodules/libsodium
|
||||
|
||||
- name: Build vlang/coreutils
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Clone 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
|
||||
|
||||
- name: Build vlang/gitly
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Install markdown"
|
||||
.github/workflows/retry.sh v install markdown
|
||||
|
@ -116,6 +123,7 @@ jobs:
|
|||
# # /tmp/gitly/gitly -ci_run
|
||||
|
||||
- name: Build vlang/v-analyzer
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
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
|
||||
|
@ -128,6 +136,7 @@ jobs:
|
|||
v build.vsh release
|
||||
|
||||
- name: Format vlang/v-analyzer
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
cd /tmp/v-analyzer
|
||||
set +e
|
||||
|
@ -140,6 +149,7 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Build vlang/go2v
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Clone 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/
|
||||
|
||||
- name: Install UI through VPM and make sure its examples compile
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Official VPM modules should be installable"
|
||||
.github/workflows/retry.sh v install ui
|
||||
|
@ -156,6 +167,7 @@ jobs:
|
|||
v ~/.vmodules/ui/examples/build_examples.vsh
|
||||
|
||||
- name: Build vlang/adventofcode
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Clone the AdventOfCode repo"
|
||||
.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
|
||||
|
||||
- name: Build vlang/msgpack
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Install msgpack"
|
||||
.github/workflows/retry.sh v install msgpack
|
||||
|
@ -175,16 +188,17 @@ jobs:
|
|||
echo "MessagePack examples should compile"
|
||||
v should-compile-all ~/.vmodules/msgpack/examples
|
||||
|
||||
# - name: Build VEX
|
||||
# run: |
|
||||
# echo "Install Vex"
|
||||
# .github/workflows/retry.sh v install nedpals.vex
|
||||
# echo "Compile all of the Vex examples"
|
||||
# v should-compile-all ~/.vmodules/nedpals/vex/examples
|
||||
# echo "Compile the simple Vex example with -skip-unused"
|
||||
# v -skip-unused ~/.vmodules/nedpals/vex/examples/simple_example.v
|
||||
# echo "Run Vex Tests"
|
||||
# v test ~/.vmodules/nedpals/vex
|
||||
# - name: Build VEX
|
||||
# if: ${{ always() }}
|
||||
# run: |
|
||||
# echo "Install Vex"
|
||||
# .github/workflows/retry.sh v install nedpals.vex
|
||||
# echo "Compile all of the Vex examples"
|
||||
# v should-compile-all ~/.vmodules/nedpals/vex/examples
|
||||
# echo "Compile the simple Vex example with -skip-unused"
|
||||
# v -skip-unused ~/.vmodules/nedpals/vex/examples/simple_example.v
|
||||
# echo "Run Vex Tests"
|
||||
# v test ~/.vmodules/nedpals/vex
|
||||
|
||||
vsl-and-vtl-compile:
|
||||
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
|
||||
|
||||
- name: Build vlang/vsl
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Installing dependencies"
|
||||
.github/workflows/retry.sh sudo apt-get install --quiet -y --no-install-recommends \
|
||||
|
@ -229,6 +244,7 @@ jobs:
|
|||
~/.vmodules/vsl/bin/test --use-cblas
|
||||
|
||||
- name: Build vlang/vtl
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "Install VTL"
|
||||
.github/workflows/retry.sh v install vtl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue