diff --git a/.github/workflows/applovin.yaml b/.github/workflows/applovin.yaml deleted file mode 100644 index da34a3396..000000000 --- a/.github/workflows/applovin.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: applovin - -on: - pull_request: - paths: - - "ThirdPartyAdapters/applovin/**" - - ".github/workflows/applovin.yaml" - push: - branches: - - main - -jobs: - android: - name: TestAppLovinAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/applovin/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/bidmachine.yaml b/.github/workflows/bidmachine.yaml deleted file mode 100644 index 44614b081..000000000 --- a/.github/workflows/bidmachine.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: bidmachine - -on: - pull_request: - paths: - - "ThirdPartyAdapters/bidmachine/**" - - ".github/workflows/bidmachine.yaml" - push: - branches: - - main - -jobs: - android: - name: TestBidMachineAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/bidmachine/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan \ No newline at end of file diff --git a/.github/workflows/bigo.yaml b/.github/workflows/bigo.yaml deleted file mode 100644 index 2e8e22f62..000000000 --- a/.github/workflows/bigo.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: bigo - -on: - pull_request: - paths: - - "ThirdPartyAdapters/bigo/**" - - ".github/workflows/bigo.yaml" - push: - branches: - - main - -jobs: - android: - name: TestBigoAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/bigo/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan \ No newline at end of file diff --git a/.github/workflows/chartboost.yaml b/.github/workflows/chartboost.yaml deleted file mode 100644 index c6d215aab..000000000 --- a/.github/workflows/chartboost.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: chartboost - -on: - pull_request: - paths: - - "ThirdPartyAdapters/chartboost/**" - - ".github/workflows/chartboost.yaml" - push: - branches: - - main - -jobs: - android: - name: TestChartboostAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/chartboost/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/dtexchange.yaml b/.github/workflows/dtexchange.yaml deleted file mode 100644 index a1ca9dcd9..000000000 --- a/.github/workflows/dtexchange.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: dtexchange - -on: - pull_request: - paths: - - "ThirdPartyAdapters/dtexchange/**" - - ".github/workflows/dtexchange.yaml" - push: - branches: - - main - -jobs: - android: - name: TestDTExchangeAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/dtexchange/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/example.yaml b/.github/workflows/example.yaml deleted file mode 100644 index cb3717f77..000000000 --- a/.github/workflows/example.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: example - -on: - pull_request: - paths: - - "Example/**" - - ".github/workflows/example.yaml" - push: - branches: - - main - workflow_dispatch: -jobs: - android: - name: Build - runs-on: macos-latest - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Build Example" - run: | - cd Example/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew build -P includeSnippets=true \ No newline at end of file diff --git a/.github/workflows/imobile.yaml b/.github/workflows/imobile.yaml deleted file mode 100644 index 29b896bde..000000000 --- a/.github/workflows/imobile.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: imobile - -on: - pull_request: - paths: - - "ThirdPartyAdapters/imobile/**" - - ".github/workflows/imobile.yaml" - push: - branches: - - main - -jobs: - android: - name: TestIMobileAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/imobile/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/inmobi.yaml b/.github/workflows/inmobi.yaml deleted file mode 100644 index dc81c789d..000000000 --- a/.github/workflows/inmobi.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: inmobi - -on: - pull_request: - paths: - - "ThirdPartyAdapters/inmobi/**" - - ".github/workflows/inmobi.yaml" - push: - branches: - - main - -jobs: - android: - name: TestInMobiAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/inmobi/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/ironsource.yaml b/.github/workflows/ironsource.yaml deleted file mode 100644 index 07f4617ea..000000000 --- a/.github/workflows/ironsource.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: ironsource - -on: - pull_request: - paths: - - "ThirdPartyAdapters/ironsource/**" - - ".github/workflows/ironsource.yaml" - push: - branches: - - main - -jobs: - android: - name: TestIronSourceAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/ironsource/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/liftoffmonetize.yaml b/.github/workflows/liftoffmonetize.yaml deleted file mode 100644 index c2faeb4f1..000000000 --- a/.github/workflows/liftoffmonetize.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: liftoffmonetize - -on: - pull_request: - paths: - - "ThirdPartyAdapters/liftoffmonetize/**" - - ".github/workflows/liftoffmonetize.yaml" - push: - branches: - - main - -jobs: - android: - name: TestLiftoffMonetizeAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/liftoffmonetize/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/line.yaml b/.github/workflows/line.yaml deleted file mode 100644 index ad7231c6a..000000000 --- a/.github/workflows/line.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: line - -on: - pull_request: - paths: - - "ThirdPartyAdapters/line/**" - - ".github/workflows/line.yaml" - push: - branches: - - main - -jobs: - android: - name: TestLineAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/line/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/maio.yaml b/.github/workflows/maio.yaml deleted file mode 100644 index 8d06c78e2..000000000 --- a/.github/workflows/maio.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: maio - -on: - pull_request: - paths: - - "ThirdPartyAdapters/maio/**" - - ".github/workflows/maio.yaml" - push: - branches: - - main - -jobs: - android: - name: TestMaioAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/maio/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/mediation_adapters.yaml b/.github/workflows/mediation_adapters.yaml new file mode 100644 index 000000000..2e3d6744e --- /dev/null +++ b/.github/workflows/mediation_adapters.yaml @@ -0,0 +1,569 @@ +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Mediation Adapters CI + +on: + pull_request: + paths: + - "ThirdPartyAdapters/**" + - "Example/**" + - ".github/workflows/mediation_adapters.yaml" + push: + branches: + - main + +jobs: + check-paths: + runs-on: ubuntu-latest + outputs: + applovin: ${{ steps.filter.outputs.applovin }} + bidmachine: ${{ steps.filter.outputs.bidmachine }} + bigo: ${{ steps.filter.outputs.bigo }} + chartboost: ${{ steps.filter.outputs.chartboost }} + dtexchange: ${{ steps.filter.outputs.dtexchange }} + example: ${{ steps.filter.outputs.example }} + imobile: ${{ steps.filter.outputs.imobile }} + inmobi: ${{ steps.filter.outputs.inmobi }} + ironsource: ${{ steps.filter.outputs.ironsource }} + liftoffmonetize: ${{ steps.filter.outputs.liftoffmonetize }} + line: ${{ steps.filter.outputs.line }} + maio: ${{ steps.filter.outputs.maio }} + meta: ${{ steps.filter.outputs.meta }} + mintegral: ${{ steps.filter.outputs.mintegral }} + moloco: ${{ steps.filter.outputs.moloco }} + mytarget: ${{ steps.filter.outputs.mytarget }} + pangle: ${{ steps.filter.outputs.pangle }} + pubmatic: ${{ steps.filter.outputs.pubmatic }} + unity: ${{ steps.filter.outputs.unity }} + verve: ${{ steps.filter.outputs.verve }} + steps: + - uses: actions/checkout@v4 + - name: Check changes + id: filter + run: | + # Fetch base branch to compare + git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1 + CHANGED_FILES=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} HEAD) + echo "Changed files:" + echo "$CHANGED_FILES" + + set_output() { + local name=$1 + local pattern=$2 + if echo "$CHANGED_FILES" | grep -q -E "$pattern"; then + echo "$name=true" >> $GITHUB_OUTPUT + else + echo "$name=false" >> $GITHUB_OUTPUT + fi + } + + set_output "applovin" "^ThirdPartyAdapters/applovin/" + set_output "bidmachine" "^ThirdPartyAdapters/bidmachine/" + set_output "bigo" "^ThirdPartyAdapters/bigo/" + set_output "chartboost" "^ThirdPartyAdapters/chartboost/" + set_output "dtexchange" "^ThirdPartyAdapters/dtexchange/" + set_output "example" "^Example/" + set_output "imobile" "^ThirdPartyAdapters/imobile/" + set_output "inmobi" "^ThirdPartyAdapters/inmobi/" + set_output "ironsource" "^ThirdPartyAdapters/ironsource/" + set_output "liftoffmonetize" "^ThirdPartyAdapters/liftoffmonetize/" + set_output "line" "^ThirdPartyAdapters/line/" + set_output "maio" "^ThirdPartyAdapters/maio/" + set_output "meta" "^ThirdPartyAdapters/meta/" + set_output "mintegral" "^ThirdPartyAdapters/mintegral/" + set_output "moloco" "^ThirdPartyAdapters/moloco/" + set_output "mytarget" "^ThirdPartyAdapters/mytarget/" + set_output "pangle" "^ThirdPartyAdapters/pangle/" + set_output "pubmatic" "^ThirdPartyAdapters/pubmatic/" + set_output "unity" "^ThirdPartyAdapters/unity/" + set_output "verve" "^ThirdPartyAdapters/verve/" + + TestApplovinAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.applovin == 'true' }} + name: TestAppLovinAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/applovin/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestBidmachineAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.bidmachine == 'true' }} + name: TestBidMachineAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: |- + cd ThirdPartyAdapters/bidmachine/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestBigoAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.bigo == 'true' }} + name: TestBigoAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: |- + cd ThirdPartyAdapters/bigo/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestChartboostAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.chartboost == 'true' }} + name: TestChartboostAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/chartboost/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestDtexchangeAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.dtexchange == 'true' }} + name: TestDTExchangeAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/dtexchange/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + Build: + needs: check-paths + if: ${{ needs.check-paths.outputs.example == 'true' }} + name: Build + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Build Example + run: |- + cd Example/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew build -P includeSnippets=true + + TestImobileAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.imobile == 'true' }} + name: TestIMobileAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/imobile/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestInmobiAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.inmobi == 'true' }} + name: TestInMobiAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/inmobi/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestIronsourceAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.ironsource == 'true' }} + name: TestIronSourceAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/ironsource/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestLiftoffmonetizeAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.liftoffmonetize == 'true' }} + name: TestLiftoffMonetizeAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/liftoffmonetize/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestLineAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.line == 'true' }} + name: TestLineAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/line/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestMaioAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.maio == 'true' }} + name: TestMaioAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/maio/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestMetaAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.meta == 'true' }} + name: TestMetaAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/meta/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestMintegralAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.mintegral == 'true' }} + name: TestMintegralAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/mintegral/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestMolocoAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.moloco == 'true' }} + name: TestMolocoAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/moloco/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestMytargetAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.mytarget == 'true' }} + name: TestMyTargetAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/mytarget/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestPangleAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.pangle == 'true' }} + name: TestPangleAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/pangle/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestPubmaticAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.pubmatic == 'true' }} + name: TestPubMaticAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: |- + cd ThirdPartyAdapters/pubmatic/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestUnityAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.unity == 'true' }} + name: TestUnityAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: | + cd ThirdPartyAdapters/unity/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan + + TestVerveAdapter: + needs: check-paths + if: ${{ needs.check-paths.outputs.verve == 'true' }} + name: TestVerveAdapter + runs-on: macos-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' + - name: Unit Tests + run: |- + cd ThirdPartyAdapters/verve/ + GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) + GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" + brew install gradle@$GRADLE_MAJOR_VERSION + brew link gradle@$GRADLE_MAJOR_VERSION + gradle wrapper --gradle-version $GRADLE_VERSION + ./gradlew test --scan diff --git a/.github/workflows/meta.yaml b/.github/workflows/meta.yaml deleted file mode 100644 index 16c650c40..000000000 --- a/.github/workflows/meta.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: meta - -on: - pull_request: - paths: - - "ThirdPartyAdapters/meta/**" - - ".github/workflows/meta.yaml" - push: - branches: - - main - -jobs: - android: - name: TestMetaAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/meta/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/mintegral.yaml b/.github/workflows/mintegral.yaml deleted file mode 100644 index f4b165b2c..000000000 --- a/.github/workflows/mintegral.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: mintegral - -on: - pull_request: - paths: - - "ThirdPartyAdapters/mintegral/**" - - ".github/workflows/mintegral.yaml" - push: - branches: - - main - -jobs: - android: - name: TestMintegralAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/mintegral/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/moloco.yaml b/.github/workflows/moloco.yaml deleted file mode 100644 index 8a3ff53ad..000000000 --- a/.github/workflows/moloco.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: moloco - -on: - pull_request: - paths: - - "ThirdPartyAdapters/moloco/**" - - ".github/workflows/moloco.yaml" - push: - branches: - - main - -jobs: - android: - name: TestMolocoAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/moloco/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/mytarget.yaml b/.github/workflows/mytarget.yaml deleted file mode 100644 index 793dbdc6a..000000000 --- a/.github/workflows/mytarget.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: mytarget - -on: - pull_request: - paths: - - "ThirdPartyAdapters/mytarget/**" - - ".github/workflows/mytarget.yaml" - push: - branches: - - main - -jobs: - android: - name: TestMyTargetAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/mytarget/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/pangle.yaml b/.github/workflows/pangle.yaml deleted file mode 100644 index 08804a9d1..000000000 --- a/.github/workflows/pangle.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: pangle - -on: - pull_request: - paths: - - "ThirdPartyAdapters/pangle/**" - - ".github/workflows/pangle.yaml" - push: - branches: - - main - -jobs: - android: - name: TestPangleAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/pangle/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/pubmatic.yaml b/.github/workflows/pubmatic.yaml deleted file mode 100644 index 0743c4675..000000000 --- a/.github/workflows/pubmatic.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: pubmatic - -on: - pull_request: - paths: - - "ThirdPartyAdapters/pubmatic/**" - - ".github/workflows/pubmatic.yaml" - push: - branches: - - main - -jobs: - android: - name: TestPubMaticAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/pubmatic/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan \ No newline at end of file diff --git a/.github/workflows/unity.yaml b/.github/workflows/unity.yaml deleted file mode 100644 index f515de043..000000000 --- a/.github/workflows/unity.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: unity - -on: - pull_request: - paths: - - "ThirdPartyAdapters/unity/**" - - ".github/workflows/unity.yaml" - push: - branches: - - main - -jobs: - android: - name: TestUnityAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/unity/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan diff --git a/.github/workflows/verve.yaml b/.github/workflows/verve.yaml deleted file mode 100644 index 30076062c..000000000 --- a/.github/workflows/verve.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: verve - -on: - pull_request: - paths: - - "ThirdPartyAdapters/verve/**" - - ".github/workflows/verve.yaml" - push: - branches: - - main - -jobs: - android: - name: TestVerveAdapter - runs-on: macos-latest - if: github.event_name == 'pull_request' - timeout-minutes: 30 - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - with: - fetch-depth: 0 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: "Unit Tests" - run: | - cd ThirdPartyAdapters/verve/ - GRADLE_VERSION=$(sed -E -n 's/.*gradle-(.*)-(bin|all)\.zip/\1/p' gradle/wrapper/gradle-wrapper.properties) - GRADLE_MAJOR_VERSION="${GRADLE_VERSION%%.*}" - brew install gradle@$GRADLE_MAJOR_VERSION - brew link gradle@$GRADLE_MAJOR_VERSION - gradle wrapper --gradle-version $GRADLE_VERSION - ./gradlew test --scan \ No newline at end of file