Skip to content

Commit

Permalink
ci: fix failures in vab_ci.yml (#22267)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman authored Sep 21, 2024
1 parent c866e37 commit 7af312c
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/vab_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 121
env:
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
VFLAGS: -d vab_no_notices
VAB_FLAGS: -v 3
steps:
- uses: actions/setup-java@v4
with:
Expand All @@ -35,16 +36,21 @@ jobs:

- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink
run: make && ./v symlink

- name: Install vab
run: |
v retry -- v install vab
v -g ~/.vmodules/vab
sudo ln -s ~/.vmodules/vab/vab /usr/local/bin/vab
- name: Run tests
run: v -g test ~/.vmodules/vab
- name: Install Java 8 matching build-tools
run: vab install "build-tools;30.0.3"

- name: Install AAB dependencies
run: |
vab install bundletool
vab install aapt2
- name: Run vab --help
run: vab --help
Expand All @@ -55,6 +61,15 @@ jobs:
which d8 || true
which dx || true
- name: Run vab --list-* flags
run: |
vab --list-apis
vab --list-build-tools
vab --list-ndks
- name: Run vab tests
run: v -g test ~/.vmodules/vab

- 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')
Expand Down

0 comments on commit 7af312c

Please sign in to comment.