Removed old tests

This commit is contained in:
Kevin Dewald 2025-04-22 00:23:09 -07:00
parent 42da55f1f9
commit a5bb52af0b
3 changed files with 36 additions and 156 deletions

View File

@ -1,149 +0,0 @@
name: Android
on:
workflow_dispatch:
workflow_call: # This allows it to be called from ci_main.yml
inputs:
tag:
description: "The tag to upload artifacts"
required: false
type: string
jobs:
test1:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Android Setup
uses: ./.github/actions/android-setup
- name: List all gradlew files
run: |
find . -name "gradlew" -type f -ls
- name: Build simpleble-bridge AAR
run: |
utils/gradle/gradlew simpleble-bridge:bundleReleaseAar -p ./simpledroidbridge --no-daemon -PbuildDir="${{ github.workspace }}"
- name: List all artifacts
run: find outputs -type f -ls
# - name: Upload simpleble-bridge AAR to job
# uses: actions/upload-artifact@v4
# with:
# name: simpleble-bridge
# path: outputs/aar/simpleble-bridge*.aar
# - name: Upload simpleble-bridge AAR to release
# uses: svenstaro/upload-release-action@v2
# if: github.event_name == 'release'
# env:
# TAG: ${{ inputs.tag }}
# with:
# file: outputs/aar/simpleble-bridge*.aar
# tag: ${{ env.TAG }}
# overwrite: true
# file_glob: true
test2:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Android Setup
uses: ./.github/actions/android-setup
- name: Build simpleble-bridge AAR
run: |
gradle build -p ./simpledroidbridge --no-daemon -PbuildDir="${{ github.workspace }}"
- name: List all artifacts
run: find outputs -type f -ls
test3:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Android Setup
uses: ./.github/actions/android-setup
- name: Build simpleble-bridge AAR
run: |
gradle build -p ./simpledroidbridge --no-daemon -Dorg.gradle.project.buildDir="${{ github.workspace }}"
- name: List all artifacts
run: find outputs -type f -ls
# simpledroidble:
# runs-on: ubuntu-22.04
# steps:
# - name: Clone repository
# uses: actions/checkout@v4
# - name: Android Setup
# uses: ./.github/actions/android-setup
# - name: Build simpledroidble AAR
# working-directory: ./simpledroidble
# run: |
# ./gradlew simpledroidble:bundleReleaseAar \
# --no-daemon \
# -PbuildDir="${{ github.workspace }}"
# - name: Upload simpledroidble AAR to job
# uses: actions/upload-artifact@v4
# with:
# name: simpledroidble
# path: outputs/aar/simpledroidble*.aar
# - name: Upload simpledroidble AAR to release
# uses: svenstaro/upload-release-action@v2
# if: github.event_name == 'release'
# env:
# TAG: ${{ inputs.tag }}
# with:
# file: outputs/aar/simpledroidble*.aar
# tag: ${{ env.TAG }}
# overwrite: true
# file_glob: true
# example:
# runs-on: ubuntu-22.04
# steps:
# - name: Clone repository
# uses: actions/checkout@v4
# - name: Android Setup
# uses: ./.github/actions/android-setup
# - name: Build example APK
# working-directory: ./examples/simpleble-android
# run: ./gradlew build
# - name: Upload example APK to job
# uses: actions/upload-artifact@v4
# with:
# name: simpledroidble-example
# path: examples/simpleble-android/app/build/outputs/apk/debug/*.apk
# - name: Upload lint report to job
# uses: actions/upload-artifact@v4
# with:
# name: simpledroidble-example-lint-report
# path: examples/simpleble-android/app/build/reports/lint-results-debug.html
# - name: Upload simpledroidble-example to release
# uses: svenstaro/upload-release-action@v2
# if: github.event_name == 'release'
# env:
# TAG: ${{ inputs.tag }}
# with:
# file: examples/simpleble-android/app/build/outputs/apk/debug/*.apk
# tag: ${{ env.TAG }}
# overwrite: true
# file_glob: true

View File

@ -240,14 +240,8 @@ jobs:
# uses: ./.github/workflows/ci_python.yml
# secrets: inherit
android:
needs: [targets]
if: needs.targets.outputs.android == 'true'
uses: ./.github/workflows/ci_android.yml
secrets: inherit
release:
needs: [smoketest, simpleble, simplepyble, simplejavable, simplecble, simplersble, android, linux-internals]
needs: [smoketest, simpleble, simplepyble, simplejavable, simplecble, simplersble, linux-internals]
runs-on: ubuntu-22.04
steps:

View File

@ -46,3 +46,38 @@ jobs:
# overwrite: true
# file_glob: true
# example:
# runs-on: ubuntu-22.04
# steps:
# - name: Clone repository
# uses: actions/checkout@v4
# - name: Android Setup
# uses: ./.github/actions/android-setup
# - name: Build example APK
# working-directory: ./examples/simpleble-android
# run: ./gradlew build
# - name: Upload example APK to job
# uses: actions/upload-artifact@v4
# with:
# name: simpledroidble-example
# path: examples/simpleble-android/app/build/outputs/apk/debug/*.apk
# - name: Upload lint report to job
# uses: actions/upload-artifact@v4
# with:
# name: simpledroidble-example-lint-report
# path: examples/simpleble-android/app/build/reports/lint-results-debug.html
# - name: Upload simpledroidble-example to release
# uses: svenstaro/upload-release-action@v2
# if: github.event_name == 'release'
# env:
# TAG: ${{ inputs.tag }}
# with:
# file: examples/simpleble-android/app/build/outputs/apk/debug/*.apk
# tag: ${{ env.TAG }}
# overwrite: true
# file_glob: true