Remove workflows temporarily for initial push
This commit is contained in:
parent
52d3c31d9d
commit
635788b1ee
2 changed files with 0 additions and 207 deletions
91
.github/workflows/android-build.yml
vendored
91
.github/workflows/android-build.yml
vendored
|
|
@ -1,91 +0,0 @@
|
|||
name: Android Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, main, develop ]
|
||||
pull_request:
|
||||
branches: [ master, main ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Cache Gradle packages
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Build debug APK
|
||||
run: ./gradlew assembleDebug --stacktrace --no-daemon
|
||||
|
||||
- name: Build release APK
|
||||
run: ./gradlew assembleRelease --stacktrace --no-daemon
|
||||
|
||||
- name: Upload debug APK
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: omnikey-debug
|
||||
path: app/build/outputs/apk/debug/*.apk
|
||||
retention-days: 30
|
||||
|
||||
- name: Upload release APK
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: omnikey-release
|
||||
path: app/build/outputs/apk/release/*.apk
|
||||
retention-days: 90
|
||||
|
||||
- name: Run lint
|
||||
run: ./gradlew lint --no-daemon
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload lint results
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: lint-results
|
||||
path: app/build/reports/lint-results*.html
|
||||
retention-days: 30
|
||||
|
||||
- name: Build summary
|
||||
if: always()
|
||||
run: |
|
||||
echo "## Build Summary" >> $GITHUB_STEP_SUMMARY
|
||||
echo "" >> $GITHUB_STEP_SUMMARY
|
||||
echo "### APK Sizes" >> $GITHUB_STEP_SUMMARY
|
||||
if [ -f app/build/outputs/apk/debug/app-debug.apk ]; then
|
||||
DEBUG_SIZE=$(ls -lh app/build/outputs/apk/debug/app-debug.apk | awk '{print $5}')
|
||||
echo "- Debug APK: $DEBUG_SIZE" >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
if [ -f app/build/outputs/apk/release/app-release-unsigned.apk ]; then
|
||||
RELEASE_SIZE=$(ls -lh app/build/outputs/apk/release/app-release-unsigned.apk | awk '{print $5}')
|
||||
echo "- Release APK: $RELEASE_SIZE" >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
echo "" >> $GITHUB_STEP_SUMMARY
|
||||
echo "### Features" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- ✅ 200+ keyboard features" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- ✅ 11 specialized engines" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- ✅ 50+ user preferences" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- ✅ ML Kit integration" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- ⚠️ UI layer not yet implemented" >> $GITHUB_STEP_SUMMARY
|
||||
116
.github/workflows/release.yml
vendored
116
.github/workflows/release.yml
vendored
|
|
@ -1,116 +0,0 @@
|
|||
name: Release Build
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version number (e.g., 1.0.0)'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build release APK
|
||||
run: ./gradlew assembleRelease --no-daemon
|
||||
|
||||
- name: Sign APK
|
||||
if: env.KEYSTORE_FILE != ''
|
||||
env:
|
||||
KEYSTORE_FILE: ${{ secrets.KEYSTORE_FILE }}
|
||||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
||||
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
|
||||
run: |
|
||||
echo "Signing would happen here with keystore"
|
||||
# Actual signing requires keystore setup
|
||||
|
||||
- name: Get version
|
||||
id: version
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
|
||||
echo "VERSION=${{ inputs.version }}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: OmniKey v${{ steps.version.outputs.VERSION }}
|
||||
tag_name: v${{ steps.version.outputs.VERSION }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
generate_release_notes: true
|
||||
body: |
|
||||
## OmniKey v${{ steps.version.outputs.VERSION }}
|
||||
|
||||
### ⚠️ Pre-Release Notice
|
||||
This is a **backend-only release**. The keyboard service and all engines are functional, but the UI layer (KeyboardView, Settings screens) is not yet implemented.
|
||||
|
||||
### What's Included
|
||||
- ✅ Complete InputMethodService implementation
|
||||
- ✅ 11 specialized engines (Prediction, Swipe, Code, Writer, etc.)
|
||||
- ✅ 50+ user preferences with DataStore
|
||||
- ✅ 9 Room database entities
|
||||
- ✅ ML Kit integration
|
||||
- ✅ 10 built-in themes
|
||||
- ✅ Full gesture system
|
||||
|
||||
### What's Missing
|
||||
- ❌ KeyboardView rendering
|
||||
- ❌ Settings UI screens
|
||||
- ❌ Theme editor
|
||||
- ❌ Emoji picker
|
||||
|
||||
### For Developers
|
||||
This release is perfect for:
|
||||
- Learning Android keyboard architecture
|
||||
- Contributing UI implementation
|
||||
- Forking for custom keyboards
|
||||
- Studying production Kotlin code
|
||||
|
||||
See `IMPLEMENTATION_STATUS.md` for details.
|
||||
|
||||
### Installation
|
||||
1. Download `omnikey-release.apk`
|
||||
2. Install on Android device
|
||||
3. Enable in Settings → System → Languages & Input
|
||||
4. Currently shows blank keyboard (UI not implemented)
|
||||
|
||||
### Next Release
|
||||
- [ ] KeyboardView implementation
|
||||
- [ ] Basic settings UI
|
||||
- [ ] Theme selector
|
||||
- [ ] Clipboard UI
|
||||
files: |
|
||||
app/build/outputs/apk/release/*.apk
|
||||
README.md
|
||||
FEATURES.md
|
||||
IMPLEMENTATION_STATUS.md
|
||||
|
||||
- name: Upload to Play Store (Future)
|
||||
if: false
|
||||
run: |
|
||||
echo "Play Store upload would happen here"
|
||||
# Requires Play Store API setup
|
||||
Loading…
Add table
Reference in a new issue