Skip to content

Commit

Permalink
ci, emulator: use actions/checkout to install V and examples in one…
Browse files Browse the repository at this point in the history
… go (#310)
  • Loading branch information
larpon authored Sep 20, 2024
1 parent 42f106b commit 154d20e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci_emulator_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ jobs:
distribution: 'adopt'
java-version: 8

- name: Install V
uses: vlang/[email protected]
- name: Checkout V
uses: actions/checkout@v4
with:
check-latest: true
repository: vlang/v
path: v

- name: Build and install v
run: cd ./v && make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v4
Expand Down Expand Up @@ -96,9 +100,6 @@ jobs:
#export ADB_TAGS="SOKOL_APP:D"
#export ADB_TAGS="$ADB_TAGS V_ANDROID:D v_test_app:D"
echo "Installing V examples"
git clone --depth 1 https://github.com/vlang/v
# Test deployment of single file *after* build
echo "Testing vab deployment *after* build"
vab --package-id "io.v.ci.vab.apk.deploytest" --name "V DEPLOY TEST APK" v/examples/gg/bezier.v && vab v_deploy_test_apk.apk
Expand Down

0 comments on commit 154d20e

Please sign in to comment.