Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/app-distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,20 @@ jobs:

build_and_deploy_android:
name: Build and Distribute Dogfooding Android
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 30
if: ${{ github.event_name == 'push' || (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'stream-video-v')) || inputs.build_android == true }}
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Checkout code
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: Setup Flutter
uses: ./.github/actions/setup-flutter
Expand Down Expand Up @@ -268,8 +275,7 @@ jobs:
# remove pull request builds last deployed over 30 days ago.
build_and_deploy_web_hosted:
name: Build and Deploy Dogfooding Web (flutter.getstream.io)
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 15
if: ${{ github.event_name == 'push' || (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'stream-video-v')) || inputs.build_web == true }}
environment:
Expand All @@ -279,8 +285,16 @@ jobs:
contents: read
id-token: write
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Checkout code
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: Setup Flutter
uses: ./.github/actions/setup-flutter
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/beta_version_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:
# Does a sanity check on packages for the next beta version so we are not surprised by any breaking changes.
analyze_beta_versions:
timeout-minutes: 15
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: "Git Checkout"
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: "Install Flutter"
uses: ./.github/actions/setup-flutter
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/ios_pods_spm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@ permissions:
jobs:
build-ios:
name: iOS Build (Dogfooding)
runs-on: { group: scaleway-macos }
runs-on: xcode-27

steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: 🧰 Setup Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🍎 Select Xcode
uses: ./.github/actions/select-xcode
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/legacy_version_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,19 @@ jobs:
analyze_legacy_version:
timeout-minutes: 15
if: github.event.pull_request.draft == false
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: "Git Checkout"
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: "Install Flutter"
uses: ./.github/actions/setup-flutter
Expand Down
57 changes: 42 additions & 15 deletions .github/workflows/pana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,18 @@ permissions:

jobs:
stream_video:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
Expand All @@ -34,11 +41,16 @@ jobs:
min_score: 50

stream_video_flutter:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
Expand All @@ -54,11 +66,16 @@ jobs:
min_score: 50

stream_video_push_notification:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
Expand All @@ -73,11 +90,16 @@ jobs:
min_score: 55

stream_video_screen_sharing:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
Expand All @@ -88,11 +110,16 @@ jobs:
min_score: 135

stream_video_noise_cancellation:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
Expand Down
41 changes: 33 additions & 8 deletions .github/workflows/pr_web_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
github.event.action != 'unlabeled' &&
contains(github.event.pull_request.labels.*.name, 'build') &&
(github.event.action != 'labeled' || github.event.label.name == 'build')
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 15
# On the jobs rather than the workflow, so a run that skips both (another
# label added) leaves a running deploy alone.
Expand All @@ -38,13 +37,22 @@ jobs:
environment:
name: flutter-web-pr
url: ${{ steps.target.outputs.url }}
outputs:
url: ${{ steps.target.outputs.url }}
permissions:
contents: read
id-token: write
pull-requests: write
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Checkout code
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: Setup Flutter
uses: ./.github/actions/setup-flutter
Expand All @@ -71,20 +79,29 @@ jobs:
service-account: ${{ steps.target.outputs.service-account }}
build-dir: dogfooding/build/web

# Commenting needs a token, and so the static-IP runners.
comment:
name: Comment the Link
needs: deploy
runs-on:
group: github-public-amd64
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: Comment the link
uses: GetStream/stream-core-flutter/.github/actions/flutter-web-pr-comment@e338514373956150868ee67d325c96efe1c758ec
with:
app: video
url: ${{ steps.target.outputs.url }}
url: ${{ needs.deploy.outputs.url }}

cleanup:
name: Remove Build
if: >-
github.event.pull_request.head.repo.full_name == github.repository &&
((github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'build')) ||
(github.event.action == 'unlabeled' && github.event.label.name == 'build'))
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 5
# Shares the deploy's group, so it stops a deploy that is still running.
concurrency:
Expand All @@ -94,7 +111,6 @@ jobs:
name: flutter-web-pr
permissions:
id-token: write
pull-requests: write
steps:
- name: Target
id: target
Expand All @@ -109,6 +125,15 @@ jobs:
path: ${{ steps.target.outputs.path }}
service-account: ${{ steps.target.outputs.service-account }}

cleanup-comment:
name: Update the Comment
needs: cleanup
runs-on:
group: github-public-amd64
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: Update the comment
uses: GetStream/stream-core-flutter/.github/actions/flutter-web-pr-comment@e338514373956150868ee67d325c96efe1c758ec
with:
Expand Down
31 changes: 23 additions & 8 deletions .github/workflows/sdk_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,18 @@ jobs:
measure-android:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
timeout-minutes: 60
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: Install Flutter
uses: ./.github/actions/setup-flutter
Expand Down Expand Up @@ -69,16 +76,24 @@ jobs:
github.event_name != 'pull_request'
|| (startsWith(github.head_ref, 'release/') && github.event.pull_request.draft == false)
timeout-minutes: 60
# Pinned, so a runner image update doesn't change the iOS numbers.
runs-on: { group: scaleway-macos }
runs-on: xcode-27
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Git Checkout
uses: actions/checkout@v7

run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

# Pinned, so a runner image update doesn't change the iOS numbers.
- name: Select Xcode
uses: ./.github/actions/select-xcode
with:
xcode-version: "26.3.0"
xcode-version: "27.1"

- name: Install Flutter
uses: ./.github/actions/setup-flutter
Expand Down
Loading
Loading