Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
arpio23 committed Dec 8, 2023
1 parent ed4a684 commit 5d91028
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 249 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ jobs:
large-packages: true
swap-storage: true

- name: Delete old nightly release
- name: Delete old test release
uses: dev-drprasad/[email protected]
if: startsWith(github.ref, 'refs/tags/droidian') != true
with:
delete_release: true # default: false
tag_name: nightly # tag name to delete
tag_name: test # tag name to delete
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -117,7 +117,7 @@ jobs:
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly
tag: test

- name: Download artifacts
uses: actions/download-artifact@v3
Expand All @@ -143,13 +143,13 @@ jobs:
draft: true
prerelease: false

- name: Create nightly release
id: create_nightly
- name: Create test release
id: create_test
if: startsWith(github.ref, 'refs/tags/droidian') != true
uses: softprops/action-gh-release@v1
with:
files: droidian-out/SHA256SUMS
tag_name: nightly
tag_name: test
draft: false
prerelease: true

Expand Down Expand Up @@ -187,12 +187,12 @@ jobs:
draft: true
prerelease: false

- name: Create nightly release
id: create_nightly
- name: Create test release
id: create_test
if: startsWith(github.ref, 'refs/tags/droidian') != true
uses: softprops/action-gh-release@v1
with:
files: droidian-out/*
tag_name: nightly
tag_name: test
draft: false
prerelease: true
2 changes: 1 addition & 1 deletion android-image-flashing-template
242 changes: 3 additions & 239 deletions devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,257 +7,21 @@
- droidian-devtools
- adaptation-hybris-devtools

.fxtec_pro1_packages:
packages: &fxtec_pro1_packages
- adaptation-fxtec-pro1
- adaptation-fxtec-pro1-configs

.fxtec_pro1x_packages:
packages: &fxtec_pro1x_packages
- adaptation-fxtec-pro1x
- adaptation-fxtec-pro1x-configs

.sony_bahamut_packages:
packages: &sony_bahamut_packages
- adaptation-sony-bahamut
- adaptation-sony-bahamut-configs

.google_sargo_packages:
packages: &google_sargo_packages
- adaptation-google-sargo
- adaptation-google-sargo-configs

.volla_mimameid_packages:
packages: &volla_mimameid_packages
- adaptation-volla-mimameid
- adaptation-volla-mimameid-configs

.volla_yggdrasil_packages:
packages: &volla_yggdrasil_packages
- adaptation-volla-yggdrasil
- adaptation-volla-yggdrasil-configs

.xiaomi_onclite_packages:
packages: &xiaomi_onclite_packages
- adaptation-droidian-onclite
- adaptation-onclite-configs

.xiaomi_lavender_packages:
packages: &xiaomi_lavender_packages
- adaptation-droidian-lavender
- adaptation-lavender-configs

.xiaomi_angelica_packages:
packages: &xiaomi_angelica_packages
- adaptation-droidian-angelica
- adaptation-angelica-configs

.xiaomi_miatoll_packages:
packages: &xiaomi_miatoll_packages
- adaptation-xiaomi-miatoll
- adaptation-miatoll-configs

.samsung_starqlte_packages:
packages: &samsung_starqlte_packages
- adaptation-droidian-starqlte
- adaptation-starqlte-configs

.oneplus_oneplus3_packages:
packages: &oneplus_oneplus3_packages
- adaptation-droidian-oneplus3
- adaptation-oneplus3-configs

########################################################################
# Recovery-flashable rootfses #
########################################################################

rootfs:
type: rootfs
arch: [armhf, arm64]
arch: [arm64]
edition: cutie
variant: phone
apilevel: [28, 29, 30, 32]
apilevel: [32, 33]

bundles:
# Developer tools bundle
- name: droidian-devtools
arch: any
apilevel: any
only_stable: yes
packages: *devtools_packages

# F(x)tec Pro1
- name: droidian-adaptation-fxtec-pro1
arch: arm64
apilevel: 28
packages: *fxtec_pro1_packages

# Sony Xperia 5
- name: droidian-adaptation-sony-bahamut
arch: arm64
apilevel: 30
packages: *sony_bahamut_packages

# Volla Phone
- name: droidian-adaptation-volla-yggdrasil
arch: arm64
apilevel: 28
packages: *volla_yggdrasil_packages

# Google Pixel 3a
- name: droidian-adaptation-google-sargo
arch: arm64
apilevel: 28
packages: *google_sargo_packages

########################################################################
# Device specific images #
########################################################################

#
# F(x)tec
#

# F(x)tec Pro1 (qx1000)
fxtec_pro1:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 28

packages: *fxtec_pro1_packages

# F(x)tec Pro1-X (qx1050)
fxtec_pro1x:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 30

packages: *fxtec_pro1x_packages

#
# Sony
#

# Sony Xperia 5 (bahamut)
sony_bahamut:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 30

packages: *sony_bahamut_packages

#
# Google
#

# Google Pixel 3a (sargo)
google_sargo:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 28

packages: *google_sargo_packages

#
# Volla
#

# Volla Phone (yggdrasil)
volla_yggdrasil:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 28

packages: *volla_yggdrasil_packages

# Volla Phone 22 (mimameid)
volla_mimameid:
type: rootfs
arch: arm64
edition: cutie
variant: phone
apilevel: 30

packages: *volla_mimameid_packages

#
# Xiaomi
#

# Xiaomi Redmi 7 (onclite)
xiaomi_onclite:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 28

packages: *xiaomi_onclite_packages

# Xiaomi Redmi Note 7 (lavender)
xiaomi_lavender:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 28

packages: *xiaomi_lavender_packages

# Xiaomi Redmi 9C (angelica)
xiaomi_angelica:
type: image
arch: armhf
edition: cutie
variant: phone
apilevel: 29

packages: *xiaomi_angelica_packages

# Xiaomi Redmi Note 9S/9 Pro/9 Pro Max/M2 Pro (miatoll)
xiaomi_miatoll:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 29

packages: *xiaomi_miatoll_packages

#
# Samsung
#

# Samsung Galaxy S9 (Qualcomm) (starqlte)
samsung_starqlte:
type: image
arch: arm64
edition: cutie
variant: phone
apilevel: 29

packages: *samsung_starqlte_packages

#
# OnePlus
#

# OnePlus 3/3T (oneplus3)
oneplus_oneplus3:
type: rootfs
arch: arm64
edition: cutie
variant: phone
apilevel: 28

packages: *oneplus_oneplus3_packages
packages: *devtools_packages

0 comments on commit 5d91028

Please sign in to comment.