From 154d20eb3ef53210250ab9868e7e1855e3be6074 Mon Sep 17 00:00:00 2001 From: larpon <768942+larpon@users.noreply.github.com> Date: Fri, 20 Sep 2024 19:59:12 +0200 Subject: [PATCH] ci, emulator: use `actions/checkout` to install V and examples in one go (#310) --- .github/workflows/ci_emulator_run.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_emulator_run.yml b/.github/workflows/ci_emulator_run.yml index 75ef5943..1f949fd8 100644 --- a/.github/workflows/ci_emulator_run.yml +++ b/.github/workflows/ci_emulator_run.yml @@ -25,10 +25,14 @@ jobs: distribution: 'adopt' java-version: 8 - - name: Install V - uses: vlang/setup-v@v1.4 + - 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 @@ -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