Skip to content

Commit

Permalink
Fixed Chartboost workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LTPhantom committed Jan 27, 2025
1 parent 95e1d9f commit d27a999
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/gma_mediation_chartboost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,57 +26,6 @@ on:
- main

jobs:
android:
runs-on: macos-latest
if: github.event_name == 'pull_request'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: "Install Flutter"
run: ./.github/workflows/scripts/install-flutter.sh stable
- name: "Install Tools"
run: ./.github/workflows/scripts/install-tools.sh
- name: "Build Example"
run: ./.github/workflows/scripts/build-example.sh android ./lib/main.dart packages/mediation/gma_mediation_chartboost/example
- name: "Unit Tests"
run: |
cd packages/mediation/gma_mediation_chartboost/example/android
./gradlew :gma_mediation_chartboost:testDebugUnitTest
iOS:
runs-on: macos-latest
timeout-minutes: 40
steps:
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.7.2"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- name: "Install Flutter"
run: ./.github/workflows/scripts/install-flutter.sh stable
- name: "Install Tools"
run: |
./.github/workflows/scripts/install-tools.sh
- name: "Unit Tests"
run: |
cd packages/mediation/gma_mediation_chartboost/example/ios
flutter clean
flutter pub get
flutter precache --ios
pod install
xcodebuild -configuration Debug -resultBundlePath TestResults VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.5' test
- uses: actions/upload-artifact@v4
if: failure()
with:
name: iOSTestResults
path: packages/mediation/gma_mediation_chartboost/example/ios/TestResults.xcresult
flutter:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit d27a999

Please sign in to comment.