forked from hapjs-platform/jsenv
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 1.03 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI
on: [push, pull_request]
jobs:
build:
container:
image: quickapp/v8-build:200513
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "build v8"
timeout-minutes: 720
run: |
export CI_PROJECT_DIR=`pwd`
cd /root/v8
git checkout remotes/origin/8.3-lkgr
cp -R /root/v8/include $CI_PROJECT_DIR/v8-build/v8
cd $CI_PROJECT_DIR/v8-build/v8/src
echo "1. build v8 project."
python build_v8.py --target android --v8-source /root/v8 --remote-branch remotes/origin/8.3-lkgr
- name: "build jsenv"
run: |
mkdir -p third_party/android_tools/
ln -s /root/v8/third_party/android_ndk third_party/android_tools/ndk
ln -s /root/v8/third_party/android_sdk/public third_party/android_tools/sdk
ln -s /root/v8/third_party/depot_tools third_party/depot_tools
echo "1. Build jsenv.aar."
python3 build_upload.py --version $CI_COMMIT_TAG --release