Skip to content

Commit 26ed48f

Browse files
committed
bin: Android 15
1 parent e5ae389 commit 26ed48f

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

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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+
# Runs a set of commands using the runners shell
41+
- name: Integration Test
42+
run: |
43+
./integrationTest.py
44+
45+
macos:
46+
runs-on: macos-latest
47+
48+
steps:
49+
- uses: actions/checkout@v2
50+
with:
51+
submodules: true
52+
53+
- name: Set up JDK
54+
uses: actions/setup-java@v1
55+
with:
56+
java-version: 17
57+
58+
- name: brew
59+
run: brew install dtc
60+
61+
- name: Unit Test
62+
run: ./gradlew check && ./gradlew clean || true
63+
64+
# Runs a set of commands using the runners shell
65+
- name: Integration Test
66+
run: ./integrationTest.py
67+
68+
windows:
69+
runs-on: windows-latest
70+
71+
steps:
72+
- uses: actions/checkout@v2
73+
with:
74+
submodules: true
75+
76+
- name: Set up JDK
77+
uses: actions/setup-java@v1
78+
with:
79+
java-version: 17
80+
81+
- name: Set up Python
82+
uses: actions/setup-python@v2
83+
with:
84+
python-version: '3.x'
85+
86+
- name: Display Python version
87+
run: python -c "import sys; print(sys.version)"
88+
89+
- name: choco
90+
run: choco install openssl dtc-msys2
91+
92+
- name: Unit Test
93+
run: ./gradlew.bat check && ./gradlew.bat clean || true
94+
95+
# Runs a set of commands using the runners shell
96+
- name: Integration Test
97+
run: python integrationTest.py
98+

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)