-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update webrtc with latest version m121 (#11)
* Update README.md * Update CMakeLists.txt * Update VERSION * Update build_and_release.yml Try maximize disk space * Update build_and_release.yml * Update build_and_release.yml * Update build_and_release.yml Updated with latest versions * Update build_and_release.yml Updated. * Update build_and_release.yml fix versions * Delete .github/workflows/build_only.yml Unused * Update test_build_windows.yml Updating Windows test build * Update build_and_release.yml * Update build_and_release.yml * Update build_and_release.yml * Update build_and_release.yml * Testing build with docker * Automatic run * Try args * Full workflow dispatch * Get current branch * Set branch name * Testing branch name * Testing branch name * Testing branch name * Testing branch name * Fix path * Using volume * Volume * Putting back arm * Using python3 * Use only 2 threads * Maximize space * Adding space to root * Adding space to root * Testing without neon * Update generate_ninja_files.bash Testing with is_clang=true * Trying rtc_build_tools=true for arm64 * Downgrade webrtc version. * Remove arm64 tests with clang. * Fix clang flag. * Revert "Downgrade webrtc version." This reverts commit 0a57728. * Disable libaom * Revert "Disable libaom" This reverts commit fab91dd. * Update CMakeLists.txt Testing compilation. * M118 * M116 * Fail fast = false * try disable use_jumbo_build=false * Testing ffmpeg setup to Firefox * Update generate_ninja_files.bash * Trying to fetch like webrtc_bin repo * Trying build with clang on arm * Trying newer compilers * Trying disabling AV1 * Update build_docker_linux.yml * Put back original compilers * Trying disabling libaom * Put back AV1 * Update build_and_release.yml * Update build_and_release.yml * Update Dockerfile * Building using docker * Only on workflow dispatch * Fix get release url artifact * Fix path * Fix path * Downgrade to 119.0.6045.215. * Upgrade the version. * Update build_and_release.yml * rtc_include_builtin_video_codecs=true * Removed unused flag * Fix setoutput warnings * Added example run from docker * Fixed CR * Removed unused patches * Increase root size --------- Co-authored-by: mamaheux <35638081+mamaheux@users.noreply.github.com> Co-authored-by: Marc-Antoine Maheux <Marc-Antoine.Maheux@USherbrooke.ca>
- Loading branch information
1 parent
c03add5
commit 7864595
Showing
13 changed files
with
258 additions
and
209 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# This workflow will create a release and build multiple versions of the webrtc library. | ||
name: build_docker_linux | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
fail_fast: | ||
description: "Should stop the workflow as soon as one configuration fails" | ||
required: false | ||
type: boolean | ||
default: false | ||
|
||
jobs: | ||
build-linux: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, ubuntu-22.04] | ||
architecture: [arm64, amd64] | ||
build-type: [Release, Debug] | ||
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
|
||
- name: Maximize build space | ||
uses: easimon/maximize-build-space@master | ||
with: | ||
root-reserve-mb: 40000 | ||
swap-size-mb: 1024 | ||
remove-dotnet: 'true' | ||
remove-android: 'true' | ||
remove-haskell: 'true' | ||
remove-codeql: 'true' | ||
remove-docker-images: 'true' | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Generate Version Output | ||
id: generate_version_output | ||
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Print Version Information | ||
run: echo "Version ${{ steps.generate_version_output.outputs.version }}" | ||
shell: bash | ||
|
||
- name: Generate Release File Name | ||
id: generate_release_file_name | ||
run: | | ||
echo "release_file_name=webrtc-native-build-${{ matrix.os }}-\ | ||
${{ matrix.architecture }}-\ | ||
${{ matrix.build-type }}-\ | ||
${{ steps.generate_version_output.outputs.version }}" >> $GITHUB_OUTPUT | ||
- name: Generate Branch Name | ||
id: generate_branch_name | ||
run: | | ||
echo "branch_name=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT | ||
- name: Print Release File Name | ||
run: echo "Release File Name ${{ steps.generate_release_file_name.outputs.release_file_name }} on branch ${{ steps.generate_branch_name.outputs.branch_name }}" | ||
shell: bash | ||
|
||
- name: Create and run Docker Image | ||
working-directory: ./docker/${{ matrix.os }} | ||
run: | | ||
docker buildx build -t webrtc --build-arg BUILD_TYPE=${{ matrix.build-type }} --build-arg BUILD_ARCHITECTURE=${{ matrix.architecture }} --build-arg BUILD_BRANCH=${{ steps.generate_branch_name.outputs.branch_name }} . | ||
docker run --rm --volume $PWD:/data webrtc tar cvzf /data/${{ steps.generate_release_file_name.outputs.release_file_name }}.tar.gz ./webrtc-native-build-${{ steps.generate_version_output.outputs.version }} | ||
ls -l | ||
shell: bash | ||
|
Oops, something went wrong.