-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6150e9
commit 520e02b
Showing
3 changed files
with
102 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pmws | ||
edge | ||
xiaomi | ||
cereus | ||
y | ||
armv7 | ||
Xiaomi | ||
Redmi 6 | ||
2018 | ||
handset | ||
n | ||
y | ||
mtkclient | ||
jp | ||
console | ||
n | ||
vim | ||
y | ||
en_US | ||
xiaomi-cereus | ||
y |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
workspace | ||
channel | ||
vendor | ||
codename | ||
new-device? | ||
arch | ||
Manufacturer | ||
Name | ||
Year of Release | ||
Type | ||
Hardware Keyboard? | ||
External Memory? | ||
Flash method: fastboot, mtkclient, ? | ||
user | ||
UI: console, gnome..? | ||
Additional change them? | ||
Extra Packages | ||
TimeZone use host? | ||
Locale | ||
Hostname | ||
Build outdated packages? |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: "main" | ||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- "v*.*.*" | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
e2e: | ||
name: "e2e" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
|
||
|
||
- name: Install dependencies | ||
run: | | ||
git clone https://git.sr.ht/~postmarketos/pmbootstrap | ||
mkdir -p $HOME/.local/bin | ||
sudo ln -s "$PWD/pmbootstrap/pmbootstrap.py" /usr/bin/pmbootstrap | ||
pmbootstrap --version | ||
- name: Write configuration file | ||
run: | | ||
wget https://raw.githubusercontent.com/jerinphilip/pmaports/${{github.sha}}/.ci/xiaomi-cereus.prompt | ||
chmod +x cereus-configure.sh | ||
- name: Initialize | ||
run: | | ||
cat xiaomi-cereus.prompt | pmbootstrap init | ||
cat $HOME/.config/pmbootstrap.cfg | ||
- name: Swap active branch in workspace pmaports | ||
run: | | ||
cd pmws/cache_git/pmaports | ||
rm -rv device/testing/{linux,device}-xiaomi-cereus | ||
git remote add jp https://github.com/${{github.repository}} | ||
git fetch jp -a | ||
git checkout xiaomi-cereus | ||
- name: Build | ||
run: | | ||
pmbootstrap -v --details-to-stdout build linux-xiaomi-cereus | ||
- name: Install | ||
run: | | ||
pmbootstrap -v --details-to-stdout install | ||
- name: Upload logs | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: build-artifacts | ||
path: |- | ||
pmws/log.txt | ||