Skip to content

Capture Codename One UI screenshot through Android view rendering #102

Capture Codename One UI screenshot through Android view rendering

Capture Codename One UI screenshot through Android view rendering #102

---
name: Test Android build scripts
'on':
pull_request:
paths:
- 'scripts/**'
- 'BUILDING.md'
push:
branches:
- master
paths-ignore:
- '**/*.md'
jobs:
build-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup workspace
run: ./scripts/setup-workspace.sh -q -DskipTests
- name: Build Android port
run: ./scripts/build-android-port.sh -q -DskipTests
- name: Build Hello Codename One Android app
run: ./scripts/build-android-app.sh -q -DskipTests
- name: Upload UI test artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: hello-codenameone-ui-test-artifacts
path: ${{ env.CN1_UI_TEST_ARTIFACT_DIR }}
if-no-files-found: warn