screenshots: replace with user's own assets from Downloads #142
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pygame | |
| - name: Syntax check | |
| run: | | |
| python -c "import py_compile; py_compile.compile('main.py', doraise=True)" | |
| python -c "import py_compile; py_compile.compile('validation.py', doraise=True)" | |
| - name: Import validation | |
| run: | | |
| python -c "import hiss_tastic; print('Package imports OK')" | |
| - name: Validation script | |
| run: | | |
| python validation.py || echo "Some checks may fail in headless CI (no display)" | |
| android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '21' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: npm | |
| - uses: android-actions/setup-android@v3 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Sync Capacitor Android project | |
| run: npm run cap:sync | |
| - name: Build debug APK and release AAB | |
| run: | | |
| cd android | |
| ./gradlew :app:assembleDebug :app:bundleRelease |