Skip to content

Commit

Permalink
Added flutter step
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-SD committed Jul 19, 2024
1 parent fb309fb commit d508363
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/android_clean_build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@ on:
push:
branches:
- "feature/CiBuildTest"
workflow_call:
inputs:
android-version:
required: false
default: 29
type: number

jobs:
android_clean_build_test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
api-level: [ 34 ]
Expand All @@ -33,6 +27,12 @@ jobs:
distribution: 'zulu'
java-version: 17

- uses: subosito/flutter-action@v2
with:
flutter-version: "3.22.2"
channel: 'stable'
cache: true

- name: Gradle cache
uses: gradle/actions/setup-gradle@v3
with:
Expand Down Expand Up @@ -72,5 +72,10 @@ jobs:
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
echo "Hello World"
mkdir "test_run"; cd "$_"
flutter create --template=app --platforms=android,ios demo_project
cd demo_project
sed -i'' -e 's/"org.jetbrains.kotlin.android" version "1.7.10"/"org.jetbrains.kotlin.android" version "1.8.10"/g' android/settings.gradle
flutter pub add adyen_checkout
flutter pub get

0 comments on commit d508363

Please sign in to comment.