-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use
actions/checkout
to install V and examples in one go
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|