Session Overlay Prototype #16
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: Session Overlay Prototype | |
| on: | |
| workflow_dispatch: | |
| env: | |
| FLUTTER_VERSION: "3.41.5" | |
| jobs: | |
| android-compile: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| cache: gradle | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25" | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ env.FLUTTER_VERSION }} | |
| channel: stable | |
| cache: true | |
| - run: flutter pub get | |
| - run: flutter build apk --debug | |
| - run: ./android/gradlew -p android app:assembleDebugAndroidTest | |
| android-runtime: | |
| runs-on: macos-15-intel | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| api-level: [34, 35, 36] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| cache: gradle | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25" | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ env.FLUTTER_VERSION }} | |
| channel: stable | |
| cache: true | |
| - run: flutter pub get | |
| - run: flutter build apk --debug | |
| - run: ./android/gradlew -p android app:assembleDebugAndroidTest | |
| - uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: ${{ matrix.api-level }} | |
| target: google_apis | |
| arch: x86_64 | |
| profile: pixel_6 | |
| disable-animations: true | |
| emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none | |
| pre-emulator-launch-script: adb start-server | |
| script: | | |
| adb install -r build/app/outputs/flutter-apk/app-debug.apk | |
| adb install -r build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk | |
| adb shell am instrument -w -r com.verseles.codewalk.test/androidx.test.runner.AndroidJUnitRunner | |
| desktop-compile: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| target: linux | |
| - os: windows-latest | |
| target: windows | |
| - os: macos-15 | |
| target: macos | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ env.FLUTTER_VERSION }} | |
| channel: stable | |
| cache: true | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25" | |
| - if: matrix.target == 'linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libayatana-appindicator3-dev libsecret-1-dev | |
| - run: flutter pub get | |
| - if: matrix.target != 'macos' | |
| run: flutter build ${{ matrix.target }} --debug | |
| - if: matrix.target == 'macos' | |
| run: MACOSX_DEPLOYMENT_TARGET=11.0 flutter build macos --debug |