-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
52 lines (42 loc) · 1.18 KB
/
.travis.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
os: linux
dist: xenial
sudo: required
git:
depth: 3
addons:
apt:
update:
- true
before_install:
- git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 ~/toolchain/
- sudo chmod -R a+x ~/toolchain/*
install: true
script:
- mkdir out
- make O=out clean
- make O=out mrproper
- export CROSS_COMPILE=~/toolchain/bin/aarch64-linux-android-
- export ARCH=arm64
- export KBUILD_BUILD_USER="ALGPHELLO"
- export KBUILD_BUILD_HOST="fujitsu"
- export ARCH_MTK_PLATFORM=mt6735
- make O=out ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE gnsz6753_66_n_defconfig
- make O=out ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE -j32
- KERNEL_DIR=$PWD
- ZIMAGE=$KERNEL_DIR/out/arch/arm64/boot/*Image*
after_success:
- cd $KERNEL_DIR/out
- curl --upload-file arch/arm64/boot/Image.gz https://transfer.sh/gnsz6753_66_n_defconfig-zImage
deploy:
skip_cleanup: true
provider: releases
api_key: "$GitOAUTHToken"
file_glob: true
file: $KERNEL_DIR/out/arch/arm64/boot/*Image*
on:
tags: false
repo: ALGPHELLO/android_kernel_gionee_gnsz6753_66_nougat
branch: master
branches:
except:
- /^(?i:untagged)-.*$/