Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.18.0 #409

Merged
merged 38 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
45ffaef
Create CODEOWNERS
bitbalint Dec 19, 2023
99c104f
Update CODEOWNERS
bitbalint Dec 19, 2023
382fd53
Merge pull request #391 from bitmovin/main
rolandkakonyi Jan 26, 2024
e1496fa
ci: use M1 mac GitHub Actions runners on CI
rolandkakonyi Jan 31, 2024
d1b8bd9
ci: bump to Xcode 14.3 on CI
rolandkakonyi Jan 31, 2024
1d6e17a
Merge pull request #393 from bitmovin/feature/use-m1-gh-actions-runner
rolandkakonyi Jan 31, 2024
57b1ef7
chore(ios): update ios player version to 3.56.1
Feb 16, 2024
4248dac
Merge pull request #398 from bitmovin/update_ios_player_to_3.56.1
rolandkakonyi Feb 16, 2024
b3c82b7
chore: improve example app documentation
rolandkakonyi Feb 16, 2024
2c03a93
Merge pull request #399 from bitmovin/feature/improve-example-app-readme
rolandkakonyi Feb 19, 2024
7d8ce39
chore(ios): update ios player version to 3.56.2
Feb 19, 2024
188be4c
Merge pull request #400 from bitmovin/update_ios_player_to_3.56.2
rolandkakonyi Feb 19, 2024
9f8547e
Merge pull request #366 from bitmovin/add-codeowners
bitbalint Feb 27, 2024
6909f30
Update CODEOWNERS with owners for .github folder
rolandkakonyi Feb 27, 2024
1d645a7
chore: update react native to 0.73.5
matamegger Mar 1, 2024
54e2805
Merge branch 'development' into upgrade_react_native
matamegger Mar 1, 2024
f5b5c96
chore: update tooling versions in workflows
matamegger Mar 1, 2024
847a273
chore(android): update android player version to 3.61.0+jason
Mar 1, 2024
648d52f
fix: build errors
matamegger Mar 1, 2024
72cee3f
fix: ndk version in gradle properties
matamegger Mar 1, 2024
377c26c
chore: add changelog entry
matamegger Mar 1, 2024
23f3907
chore: add changelog entry
matamegger Mar 1, 2024
34f66c3
chore(ios): update ios player version to 3.56.3
Mar 4, 2024
912f40d
Merge pull request #407 from bitmovin/update_ios_player_to_3.56.3
rolandkakonyi Mar 4, 2024
715e300
Merge branch 'development' into upgrade_react_native
rolandkakonyi Mar 4, 2024
4800a6b
chore: fix Programmatic Track Selection example screen layout
rolandkakonyi Mar 4, 2024
1b1ca2c
chore: respect safe area on Programmatic Track Selection screen
rolandkakonyi Mar 4, 2024
be64803
chore: skip bundling in integration test iOS target
rolandkakonyi Mar 4, 2024
4dc5859
chore: revert xcode version update (now using 14.3 again)
matamegger Mar 5, 2024
56e5dc1
Merge pull request #404 from bitmovin/upgrade_react_native
matamegger Mar 5, 2024
9d69251
Merge branch 'development' into update_android_player_to_3.61.0+jason
matamegger Mar 5, 2024
f9619c3
Merge pull request #405 from bitmovin/update_android_player_to_3.61.0…
matamegger Mar 5, 2024
7fa7d3a
fix(android): add missing permission to example app
matamegger Mar 5, 2024
443a4be
chore: extract environment setup for the CI into separate action
matamegger Mar 5, 2024
e25bdbf
chore: rename setup-build to setup-environment and avoid "build" naming
matamegger Mar 5, 2024
0f13c25
Merge pull request #408 from bitmovin/extract_ci_environment_setup
matamegger Mar 5, 2024
5124a07
Add changelog entry for iOS Player SDK update
rolandkakonyi Mar 6, 2024
fc3951e
chore: prepare release 0.18.0
Mar 6, 2024
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
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.github/ @bitmovin/player-ios @bitmovin/player-android
ios/ @bitmovin/player-ios
example/ios/ @bitmovin/player-ios
android/ @bitmovin/player-android
example/android/ @bitmovin/player-android
85 changes: 85 additions & 0 deletions .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Setup project environment
description: Setup the project environment

inputs:
node:
description: Setup node and install root node modules
default: false
required: false
subprojects:
description: Setup node and install root and subproject node modules (overrides `node` input)
default: false
required: false
ios:
description: Setup xcode and install dependencies
default: false
required: false
restore-pods:
description: Restores the Pod cache
default: false
required: false
java:
description: Setup Java and Gradle cache
default: false
required: false

runs:
using: composite
steps:
- name: Set up Java
if: ${{ inputs.java == 'true' }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Set up Gradle cache
if: ${{ inputs.java == 'true' }}
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/development' }}

- name: Setup node and npm registry
if: ${{ inputs.node == 'true' || inputs.subprojects == 'true' }}
uses: actions/setup-node@v3
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Install node_modules
if: ${{ inputs.node == 'true' || inputs.subprojects == 'true' }}
shell: bash
run: yarn install --frozen-lockfile

- name: Install node_modules (example/)
if: ${{ inputs.subprojects == 'true' }}
shell: bash
run: yarn install --frozen-lockfile --cwd example

- name: Install node_modules (integration_test/)
if: ${{ inputs.subprojects == 'true' }}
shell: bash
run: yarn install --frozen-lockfile --cwd integration_test

- uses: maxim-lobanov/setup-xcode@v1
if: ${{ inputs.ios == 'true' }}
with:
xcode-version: '14.3'

- name: Install dependencies
if: ${{ inputs.ios == 'true' }}
shell: bash
run: brew bundle install

- name: Restore Pods cache
if: ${{ inputs.restore-pods == 'true' }}
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
integration_test/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-
42 changes: 8 additions & 34 deletions .github/workflows/ci-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
distribution: 'zulu'
java-version: '11'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/development' }}
java: true

- name: Check code style
run: ./gradlew ktlintCheck
Expand All @@ -59,32 +53,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node and npm registry
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'

- name: Install node_modules
run: yarn install --frozen-lockfile

- name: Install node_modules (example/)
run: yarn install --frozen-lockfile --cwd example

- name: Install node_modules (integration_test/)
run: yarn install --frozen-lockfile --cwd integration_test

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
cache-read-only: ${{ github.ref != 'refs/heads/development' }}
java: true
node: true
subprojects: true

- name: Build Android example
run: ./gradlew assembleDebug --build-cache
Expand Down
87 changes: 18 additions & 69 deletions .github/workflows/ci-ios-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,61 +38,33 @@ env:
jobs:
code-style-ios:
name: Code style iOS
runs-on: macOS-latest
runs-on: macOS-14
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: maxim-lobanov/setup-xcode@v1
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
xcode-version: '14.2'

- name: Install dependencies
run: brew bundle install
ios: true

- name: Check code style
run: swiftlint --strict

test-build-ios:
name: Build iOS
runs-on: macOS-12
runs-on: macOS-14
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node and npm registry
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.2'

- name: Install node_modules
run: yarn install --frozen-lockfile

- name: Install node_modules (example/)
run: yarn install --frozen-lockfile --cwd example

- name: Install node_modules (integration_test/)
run: yarn install --frozen-lockfile --cwd integration_test

- name: Install dependencies
run: brew bundle install

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
path: |
.cocoapods-cache
example/ios/Pods
integration_test/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-
node: true
subprojects: true
ios: true
restore-pods: true

- name: Install pods
run: |
Expand Down Expand Up @@ -125,41 +97,18 @@ jobs:

test-build-tvos:
name: Build tvOS
runs-on: macOS-12
runs-on: macOS-14
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node and npm registry
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.2'

- name: Install node_modules
run: yarn install --frozen-lockfile

- name: Install node_modules (example/)
run: yarn install --frozen-lockfile --cwd example

- name: Install dependencies
run: brew bundle install

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
path: |
.cocoapods-cache
example/ios/Pods
integration_test/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-
node: true
subprojects: true
ios: true
restore-pods: true

- name: Install pods
run: |
Expand Down
22 changes: 6 additions & 16 deletions .github/workflows/ci-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Setup node and npm registry
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

Expand All @@ -75,7 +75,7 @@ jobs:
- name: Setup node and npm registry
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

Expand All @@ -98,21 +98,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node and npm registry
uses: actions/setup-node@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Install node_modules
run: yarn install --frozen-lockfile

- name: Install node_modules (example/)
run: yarn install --frozen-lockfile --cwd example

- name: Install node_modules (integration_test/)
run: yarn install --frozen-lockfile --cwd integration_test
node: true
subprojects: true

- name: Build docs
run: yarn docs
24 changes: 5 additions & 19 deletions .github/workflows/create-sdk-update-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
update:
name: Update SDK version
runs-on: macos-latest
runs-on: macos-14
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
Expand All @@ -44,25 +44,11 @@ jobs:
git push origin --delete ${{ steps.branching.outputs.branch_name }} || true
git checkout -b ${{ steps.branching.outputs.branch_name }}

- name: Setup node and npm registry
if: ${{ inputs.sdk_name == 'ios' }}
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Restore Pods cache
if: ${{ inputs.sdk_name == 'ios' }}
id: pods-cache-restore
uses: actions/cache/restore@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
path: |
.cocoapods-cache
example/ios/Pods
integration_test/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-
node: true
restore-pods: true

- name: Bump iOS player SDK version
if: ${{ inputs.sdk_name == 'ios' }}
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/finish-release-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,10 @@ jobs:
run: |
git push origin v${{ needs.prepare.outputs.version_number }}

- name: Setup node and npm registry
uses: actions/setup-node@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
node: true

- name: Build TypeScript files
run: yarn build
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup node and npm registry
uses: actions/setup-node@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Install node_modules
run: yarn install --frozen-lockfile

- name: Install node_modules (example/)
run: yarn install --frozen-lockfile --cwd example

- name: Install node_modules (integration_test/)
run: yarn install --frozen-lockfile --cwd integration_test
node: true
subprojects: true

- name: Detect version using jq
run: |
Expand Down
Loading
Loading