Add NOTICE file and update update-notice-year workflow
#289
Workflow file for this run
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: Build example app | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - development | |
| - '**_baseline' | |
| jobs: | |
| build-android: | |
| name: Build Android | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Build example app APK | |
| run: cd splitio/example; flutter build apk | |
| test-android: | |
| name: Test Android | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Run Pub Get | |
| run: cd splitio/; flutter pub get | |
| - name: Build Android | |
| run: cd splitio/example/android/; flutter build apk | |
| - name: Run Android test | |
| run: cd splitio/example/android/; ./gradlew :splitio:testReleaseUnitTest; | |
| build-ios: | |
| name: Build iOS | |
| runs-on: [ macos-14 ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Run Build iOS | |
| run: cd splitio/example/ios; flutter build ios --no-codesign; | |
| test-ios: | |
| name: Test iOS | |
| runs-on: [ macos-14 ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Run Build iOS | |
| run: cd splitio_ios/example/; flutter build ios --no-codesign; | |
| - name: Select Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 15.1.0 | |
| - name: ios | |
| run: cd splitio_ios/example/ios; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 15,OS=17.4" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO; | |
| build-web: | |
| name: Build Web | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Build Web | |
| run: cd splitio/example; flutter build web | |
| test-web: | |
| name: Test Web | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Build Web | |
| run: cd splitio/example; flutter build web | |
| - name: Run Web test | |
| run: cd splitio/example; flutter test --platform=chrome |