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

111 #1331

Closed
wants to merge 8 commits into from
Closed

111 #1331

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
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

on:
push:
branches: [master]
workflow_dispatch

concurrency:
group: ${{ github.ref }}
Expand All @@ -12,7 +12,6 @@ defaults:
shell: bash

jobs:

product:
runs-on: ubuntu-20.04
steps:
Expand All @@ -22,7 +21,6 @@ jobs:
- uses: ./.github/actions/setup-python
id: setup-python

# This step is referenced from product/README.md.
- name: Download Android Python builds
run: |
cd target
Expand All @@ -49,7 +47,6 @@ jobs:
uses: actions/upload-artifact@v4.3.3
with:
name: maven
# There's a fairly large per-file overhead, so exclude the hash files.
path: |
maven
!**/*.md5
Expand All @@ -58,7 +55,6 @@ jobs:
!**/*.sha512
if-no-files-found: error

# This should match the version discovery logic in gradle-plugin/build.gradle.kts.
- name: List Android Gradle plugin versions
id: agp-versions
run: |
Expand All @@ -71,7 +67,6 @@ jobs:
outputs:
agp-versions: ${{ steps.agp-versions.outputs.versions }}


docs:
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -103,7 +98,6 @@ jobs:
!**/.doctrees
if-no-files-found: error


gradlePython:
runs-on: ubuntu-20.04
steps:
Expand All @@ -120,7 +114,6 @@ jobs:
export JAVA_HOME=$JAVA_HOME_11_X64
./gradlew gradle:testPython


demo:
needs: [product]
runs-on: ubuntu-20.04
Expand All @@ -141,6 +134,11 @@ jobs:
CHAQUO_JKS: ${{ secrets.CHAQUO_JKS }}
run: |
echo "$CHAQUO_JKS" | base64 -d > demo/chaquo.jks
# Verify the keystore file
if [ ! -f demo/chaquo.jks ]; then
echo "Error: Keystore file not found!"
exit 1
fi

- name: Build
run: |
Expand All @@ -154,7 +152,6 @@ jobs:
path: demo/app/build/outputs/apk/release
if-no-files-found: error


integration:
needs: [product]
strategy:
Expand All @@ -163,8 +160,6 @@ jobs:
agp-version: ${{ fromJSON(needs.product.outputs.agp-versions) }}
os: [linux, macos, windows]
include:
# Runners must support all the Python versions in setup-python/action.yml: see
# https://github.com/actions/python-versions/blob/main/versions-manifest.json.
- os: linux
runs-on: ubuntu-20.04
- os: macos
Expand Down