Skip to content

Commit 8c0e68c

Browse files
committed
bin: Android 15
1 parent e5ae389 commit 8c0e68c

File tree

155 files changed

+25350
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+25350
-0
lines changed

Diff for: .gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
aosp/* linguist-vendored
2+
external/* linguist-vendored
3+
avb/* linguist-vendored

Diff for: .github/workflows/main.yml

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
name: CI
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the master branch
6+
push:
7+
branches: [ rc, master, bin ]
8+
pull_request:
9+
branches: [ ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
linux:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v2
25+
with:
26+
submodules: true
27+
28+
- name: Set up JDK
29+
uses: actions/setup-java@v1
30+
with:
31+
java-version: 17
32+
33+
- name: apt
34+
run: sudo apt install device-tree-compiler p7zip-full android-sdk-libsparse-utils erofs-utils
35+
36+
# Runs a single command using the runners shell
37+
- name: Unit Test
38+
run: ./gradlew check && ./gradlew clean || true
39+
40+
- name: enable gradle native
41+
run: sed -i "s/bHackingMode = false/bHackingMode = true/g" build.gradle.kts
42+
43+
# Runs a set of commands using the runners shell
44+
- name: Integration Test
45+
run: |
46+
./integrationTest.py
47+
48+
macos:
49+
runs-on: macos-latest
50+
51+
steps:
52+
- uses: actions/checkout@v2
53+
with:
54+
submodules: true
55+
56+
- name: Set up JDK
57+
uses: actions/setup-java@v1
58+
with:
59+
java-version: 17
60+
61+
- name: brew
62+
run: brew install dtc
63+
64+
- name: Unit Test
65+
run: ./gradlew check && ./gradlew clean || true
66+
67+
# Runs a set of commands using the runners shell
68+
- name: Integration Test
69+
run: ./integrationTest.py
70+
71+
windows:
72+
runs-on: windows-latest
73+
74+
steps:
75+
- uses: actions/checkout@v2
76+
with:
77+
submodules: true
78+
79+
- name: Set up JDK
80+
uses: actions/setup-java@v1
81+
with:
82+
java-version: 17
83+
84+
- name: Set up Python
85+
uses: actions/setup-python@v2
86+
with:
87+
python-version: '3.x'
88+
89+
- name: Display Python version
90+
run: python -c "import sys; print(sys.version)"
91+
92+
- name: choco
93+
run: choco install openssl dtc-msys2
94+
95+
- name: Unit Test
96+
run: ./gradlew.bat check && ./gradlew.bat clean || true
97+
98+
# Runs a set of commands using the runners shell
99+
- name: Integration Test
100+
run: python integrationTest.py
101+

Diff for: .gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
.gradle
3+
build/
4+
__pycache__

Diff for: .gitmodules

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "src/integrationTest/resources"]
2+
path = src/integrationTest/resources
3+
url = https://github.com/cfig/android_image_res
4+
[submodule "src/integrationTest/resources_2"]
5+
path = src/integrationTest/resources_2
6+
url = https://github.com/cfig/android_image_res2.git
7+
[submodule "src/integrationTest/resources_3"]
8+
path = src/integrationTest/resources_3
9+
url = https://github.com/cfig/android_image_res3.git

Diff for: .travis.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: java
2+
os:
3+
- linux
4+
- osx
5+
dist: focal
6+
osx_image: xcode12.2
7+
addons:
8+
apt:
9+
packages:
10+
- xz-utils
11+
- libblkid-dev
12+
- liblz4-tool
13+
- device-tree-compiler
14+
- python3
15+
- python-all
16+
before_install:
17+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update ; fi
18+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lz4 dtc gradle; fi
19+
script:
20+
- ./gradlew check
21+
- ./gradlew clean
22+
- ./integrationTest.py

0 commit comments

Comments
 (0)