Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "aosp-silver" #57

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,20 @@ jobs:
cd $PROJECTFOLDER

if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi

if [[ -n "${{ secrets.PAID }}" ]]; then
echo "Paid Build... Tokens will be consumed."
export PAID="--platform aosp-silver"
fi

echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"


crave ${{ secrets.CRAVE_FLAGS }} run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -463,15 +463,20 @@ jobs:

jq '.projects = []' ~/crave.conf > tmp && mv tmp ~/crave.conf
if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi

if [[ -n "${{ secrets.PAID }}" ]]; then
echo "Paid Build... Tokens will be consumed."
export PAID="--platform aosp-silver"
fi

echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"


crave run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,20 @@ jobs:
cd $PROJECTFOLDER

if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi

if [[ -n "${{ secrets.PAID }}" ]]; then
echo "Paid Build... Tokens will be consumed."
export PAID="--platform aosp-silver"
fi

echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"


crave ${{ secrets.CRAVE_FLAGS }} run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,20 @@ jobs:
cd $PROJECTFOLDER

if [ "${{ github.event.inputs.CLEAN_BUILD }}" == "yes" ]; then
export CLEAN="clean"
export CLEAN="--clean"
fi

if [[ -n "${{ secrets.PAID }}" ]]; then
echo "Paid Build... Tokens will be consumed."
export PAID="--platform aosp-silver"
fi

echo "Build is queued! Please wait for your build to start."
echo "Check foss.crave.io Dashboard to see builds"
echo "Running build's log will show up here!"


crave ${{ secrets.CRAVE_FLAGS }} run --no-patch --${CLEAN} "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
crave ${{ secrets.CRAVE_FLAGS }} run --no-patch ${PAID} ${CLEAN} -- "rm -rf .repo/local_manifests/ ${{ github.event.inputs.REMOVALS }} && \
# Clone local_manifests repository
$BUILD_DIFFERENT_ROM ; \
$LOCAL_MANIFEST && \
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,17 @@ Here, we enter our repo init command for a non-supported ROM. If we are building

Doing this is not recommended and is known to be troublesome. However, it doesn't break any crave rules yet.

### Paid Queue

To use your crave wallet with one of these projects, just set a secret called "PAID" without the quotes with any data(like "true")

To know more about wallets, read this:

https://opendroid.pugzarecute.com/wiki/Crave_Devspace#paid-queue

https://foss.crave.io/docs/wallets/


### Build Signing
Q4. How do I sign my builds?

Expand Down
Loading