ci: fix vab tests (#10961)

pull/10963/head
Larpon 2021-07-25 20:29:00 +02:00 committed by GitHub
parent 6d6b08ba2a
commit ee2e81742b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -41,12 +41,12 @@ jobs:
export VEXE=./v
vab/vab doctor
## - name: Build graphical V examples as APK
## run: |
## declare -a v_examples=('flappylearning' '2048' 'fireworks' 'tetris' 'sokol/particles' 'sokol/drawing.v' 'sokol/freetype_raven.v' 'gg/polygons.v' 'gg/raven_text_rendering.v' 'gg/rectangles.v' 'gg/stars.v' 'gg/worker_thread.v')
## mkdir apks
## export VEXE=./v
## for example in "${v_examples[@]}"; do
## safe_name=$(echo "$example" | sed 's%/%-%' | sed 's%\.%-%' )
## vab/vab -v 3 examples/$example -o apks/$safe_name.apk
## done
- name: Build graphical V examples as APK
run: |
declare -a v_examples=('flappylearning' '2048' 'fireworks' 'tetris' 'sokol/particles' 'sokol/drawing.v' 'sokol/freetype_raven.v' 'gg/polygons.v' 'gg/raven_text_rendering.v' 'gg/rectangles.v' 'gg/stars.v' 'gg/worker_thread.v')
mkdir apks
export VEXE=./v
for example in "${v_examples[@]}"; do
safe_name=$(echo "$example" | sed 's%/%-%' | sed 's%\.%-%' )
vab/vab --api 29 --build-tools '29.0.0' -v 3 examples/$example -o apks/$safe_name.apk
done