Skip to content

Commit

Permalink
Merge branch 'release/2025.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
miosakuma committed Jan 27, 2025
2 parents 3c5326e + 5e5eb0d commit 22a83d2
Show file tree
Hide file tree
Showing 97 changed files with 2,795 additions and 1,135 deletions.
13 changes: 0 additions & 13 deletions .github/renovate.json

This file was deleted.

42 changes: 34 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- "**.md"
- "LICENSE"
- "NOTICE"
schedule:
# UTC の 01:00 は JST だと 10:00 。
# 1-5 で 月曜日から金曜日
- cron: "0 1 * * 1-5"

jobs:
build-windows:
Expand Down Expand Up @@ -108,8 +112,8 @@ jobs:
TEST_MATRIX_NAME: ${{ matrix.name }}
steps:
- uses: actions/checkout@v4
- name: Select Xcode 14.3.1
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
- name: Select Xcode 15.4
run: sudo xcode-select --switch /Applications/Xcode_15.4.app/Contents/Developer
- name: Env to output
run: |
echo "user=`users`" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -160,12 +164,19 @@ jobs:
- name: ubuntu-20.04_x86_64
runs-on: ubuntu-20.04
os: ubuntu
arch: x86_64
- name: ubuntu-22.04_x86_64
runs-on: ubuntu-22.04
os: ubuntu
arch: x86_64
- name: ubuntu-24.04_x86_64
runs-on: ubuntu-24.04
os: ubuntu
arch: x86_64
- name: ubuntu-24.04_armv8
runs-on: ubuntu-24.04
os: ubuntu
arch: armv8
- name: android
runs-on: ubuntu-22.04
os: android
Expand Down Expand Up @@ -216,7 +227,7 @@ jobs:
Pin-Priority: 990
EOF
- name: Install deps for ${{ matrix.platform.name }}
if: matrix.platform.os == 'ubuntu'
if: matrix.platform.os == 'ubuntu' && matrix.platform.arch == 'x86_64'
run: |
source VERSION
sudo apt-get update
Expand All @@ -225,7 +236,16 @@ jobs:
# X11
sudo apt-get install libx11-dev libxext-dev
# OpenGL
sudo apt-get install -y libgl-dev
# CUDA
source /etc/os-release
# 20.04 は自前の libssl1.1 があるので不要
if [ $VERSION_ID != "20.04" ]; then
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
fi
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_*all.deb
sudo apt-get update
Expand All @@ -235,9 +255,12 @@ jobs:
wget https://apt.llvm.org/llvm.sh
chmod a+x llvm.sh
sudo ./llvm.sh 18
# Intel Media SDK のために libva-dev, libdrm-dev を入れる
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install libva-dev libdrm-dev
- name: Install deps for ${{ matrix.platform.name }}
if: matrix.platform.os == 'ubuntu' && matrix.platform.arch == 'armv8'
run: |
sudo apt-get -y install multistrap binutils-aarch64-linux-gnu libgl-dev
# multistrap に insecure なリポジトリからの取得を許可する設定を入れる
sudo sed -e 's/Apt::Get::AllowUnauthenticated=true/Apt::Get::AllowUnauthenticated=true";\n$config_str .= " -o Acquire::AllowInsecureRepositories=true/' -i /usr/sbin/multistrap
- name: Install deps for Android
if: matrix.platform.os == 'android'
run: |
Expand Down Expand Up @@ -298,7 +321,7 @@ jobs:
- build-windows
- build-macos
- build-ubuntu
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/download
Expand All @@ -319,6 +342,9 @@ jobs:
- uses: ./.github/actions/download
with:
platform: ubuntu-24.04_x86_64
- uses: ./.github/actions/download
with:
platform: ubuntu-24.04_armv8
- uses: ./.github/actions/download
with:
platform: android
Expand All @@ -336,7 +362,7 @@ jobs:

notification:
name: Slack Notification
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- build-windows
- build-macos
Expand Down
71 changes: 36 additions & 35 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,5 @@
{
"configurations": [
{
"name": "ubuntu-20.04_x86_64 Release",
"includePath": [
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/boost/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/webrtc/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/webrtc/include/third_party/abseil-cpp",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/webrtc/include/third_party/boringssl/src/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/webrtc/include/third_party/libyuv/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/webrtc/include/third_party/zlib",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/llvm/libcxx/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/openh264/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/vpl/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/blend2d/include",
"${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/catch2/include",
"${workspaceFolder}/_build/ubuntu-20.04_x86_64/release/sora",
"${workspaceFolder}/third_party/NvCodec/include",
"${workspaceFolder}/third_party/NvCodec/NvCodec",
"${workspaceFolder}/include",
"/usr/local/cuda/include"
],
"defines": [
"WEBRTC_POSIX",
"_LIBCPP_ABI_UNSTABLE",
"_LIBCPP_DISABLE_AVAILABILITY",
"OPENSSL_IS_BORINGSSL",
"SORA_CPP_SDK_UBUNTU_2004",
"USE_NVCODEC_ENCODER",
"RTC_ENABLE_H265"
],
"compilerPath": "${workspaceFolder}/_install/ubuntu-20.04_x86_64/release/llvm/clang/bin/clang++",
"compilerArgs": ["-nostdinc++"],
"cStandard": "gnu17",
"cppStandard": "gnu++17",
"intelliSenseMode": "linux-clang-x64"
},
{
"name": "ubuntu-20.04_armv8_jetson Release",
"includePath": [
Expand Down Expand Up @@ -104,6 +69,42 @@
"cppStandard": "gnu++17",
"intelliSenseMode": "linux-clang-x64"
},
{
"name": "ubuntu-24.04_x86_64 Release",
"includePath": [
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/boost/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/webrtc/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/webrtc/include/third_party/abseil-cpp",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/webrtc/include/third_party/boringssl/src/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/webrtc/include/third_party/libyuv/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/webrtc/include/third_party/zlib",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/llvm/libcxx/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/openh264/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/vpl/include",
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/blend2d/include",
"${workspaceFolder}/_build/ubuntu-24.04_x86_64/release/sora",
"${workspaceFolder}/third_party/NvCodec/include",
"${workspaceFolder}/third_party/NvCodec/NvCodec",
"${workspaceFolder}/include",
"/usr/local/cuda/include"
],
"defines": [
"WEBRTC_POSIX",
"_LIBCPP_ABI_UNSTABLE",
"_LIBCPP_DISABLE_AVAILABILITY",
"OPENSSL_IS_BORINGSSL",
"SORA_CPP_SDK_UBUNTU_2204",
"USE_NVCODEC_ENCODER",
"USE_VPL_ENCODER",
"RTC_ENABLE_H265"
],
// "compilerPath": "${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/llvm/clang/bin/clang++",
"compilerPath": "/usr/bin/clang++-18",
"compilerArgs": ["-nostdinc++"],
"cStandard": "gnu17",
"cppStandard": "gnu++17",
"intelliSenseMode": "linux-clang-x64"
},
{
"name": "android Release",
"includePath": [
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
"__threading_support": "cpp",
"__verbose_abort": "cpp",
"string_view": "cpp",
"*.tcc": "cpp"
"*.tcc": "cpp",
"__node_handle": "cpp",
"expected": "cpp"
}
}
Loading

0 comments on commit 22a83d2

Please sign in to comment.