forked from aosp-mirror/platform_external_sonivox
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into xmf_support
- Loading branch information
Showing
37 changed files
with
29,612 additions
and
26,990 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Check pull request branch | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- edited | ||
|
||
jobs: | ||
check-branches: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check branches | ||
run: | | ||
if [ ${{ github.head_ref }} != "devel" ] && [ ${{ github.base_ref }} == "master" ]; then | ||
echo "Merge requests to master branch are only allowed from devel branch." | ||
exit 1 | ||
fi |
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,50 @@ | ||
name: FreeBSD CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "master", "devel" ] | ||
pull_request: | ||
branches: [ "master", "devel" ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: FreeBSD CI | ||
env: | ||
BUILD_TYPE: RelWithDebInfo | ||
INSTALL_LOCATION: ${{github.workspace}}/SonivoxV3 | ||
TEMP: ${{github.workspace}}/temp/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Temp Environment Variable | ||
run: | | ||
mkdir -p ${{github.workspace}}/temp | ||
- name: FreeBSD test | ||
id: test | ||
uses: vmactions/freebsd-vm@v1 | ||
with: | ||
envs: 'BUILD_TYPE INSTALL_LOCATION TEMP' | ||
usesh: true | ||
prepare: | | ||
pkg install -y \ | ||
cmake \ | ||
ninja \ | ||
pkgconf \ | ||
googletest | ||
run: | | ||
set -e -x | ||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} | ||
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | ||
cd ${{github.workspace}}/build | ||
ctest -C ${{env.BUILD_TYPE}} --verbose | ||
cd ${{github.workspace}} | ||
cmake --install ${{github.workspace}}/build | ||
tar cvf SonivoxV3.tar SonivoxV3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: SonivoxV3-freebsd | ||
path: SonivoxV3.tar | ||
retention-days: 90 | ||
overwrite: true |
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,54 @@ | ||
name: Linux CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "master", "devel" ] | ||
pull_request: | ||
branches: [ "master", "devel" ] | ||
|
||
env: | ||
BUILD_TYPE: RelWithDebInfo | ||
INSTALL_LOCATION: ${{github.workspace}}/SonivoxV3 | ||
TEMP: ${{github.workspace}}/temp/ | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Linux CI | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Preparation | ||
run: sudo apt install libgtest-dev | ||
|
||
- name: Temp Environment Variable | ||
run: | | ||
mkdir -p ${{github.workspace}}/temp | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{env.BUILD_TYPE}} --verbose | ||
|
||
- name: Install | ||
run: cmake --install ${{github.workspace}}/build | ||
|
||
- name: Create Archive | ||
run: | | ||
cd ${{github.workspace}} | ||
tar cvf SonivoxV3.tar SonivoxV3 | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: SonivoxV3-linux | ||
path: SonivoxV3.tar | ||
retention-days: 90 | ||
overwrite: true |
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,51 @@ | ||
name: macOS CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "master", "devel" ] | ||
pull_request: | ||
branches: [ "master", "devel" ] | ||
|
||
env: | ||
BUILD_TYPE: RelWithDebInfo | ||
INSTALL_LOCATION: ${{github.workspace}}/SonivoxV3 | ||
TEMP: ${{github.workspace}}/temp/ | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
name: macOS CI | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Temp Environment Variable | ||
run: | | ||
mkdir -p ${{github.workspace}}/temp | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{env.BUILD_TYPE}} --verbose | ||
|
||
- name: Install | ||
run: cmake --install ${{github.workspace}}/build | ||
|
||
- name: Create Archive | ||
run: | | ||
cd ${{github.workspace}} | ||
tar cvf SonivoxV3.tar SonivoxV3 | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: SonivoxV3-macos | ||
path: SonivoxV3.tar | ||
retention-days: 90 | ||
overwrite: true |
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,69 @@ | ||
name: Windows CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "master", "devel" ] | ||
pull_request: | ||
branches: [ "master", "devel" ] | ||
|
||
env: | ||
BUILD_TYPE: RelWithDebInfo | ||
INSTALL_LOCATION: SonivoxV3 | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- { icon: '⬛', sys: mingw32 } | ||
- { icon: '🟦', sys: mingw64 } | ||
- { icon: '🟨', sys: ucrt64 } | ||
- { icon: '🟧', sys: clang64 } | ||
name: 🚧${{ matrix.icon }} ${{ matrix.sys }} | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: '${{ matrix.icon }} Setup MSYS2' | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
release: false | ||
msystem: ${{matrix.sys}} | ||
install: >- | ||
git | ||
make | ||
pacboy: >- | ||
toolchain:p | ||
cmake:p | ||
ninja:p | ||
gtest:p | ||
- name: '${{ matrix.icon }} Configure CMake' | ||
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} | ||
|
||
- name: '${{ matrix.icon }} Build' | ||
run: cmake --build build --config ${{env.BUILD_TYPE}} | ||
|
||
- name: '${{ matrix.icon }} Test' | ||
working-directory: build | ||
run: ctest -C ${{env.BUILD_TYPE}} --verbose | ||
|
||
- name: '${{ matrix.icon }} Install' | ||
run: cmake --install build | ||
|
||
- name: '${{ matrix.icon }} Create Archive' | ||
run: tar cvf ${{env.INSTALL_LOCATION}}.tar ${{env.INSTALL_LOCATION}} | ||
|
||
- name: '${{ matrix.icon }} Upload Artifacts' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{env.INSTALL_LOCATION}}-${{matrix.sys}} | ||
path: ${{env.INSTALL_LOCATION}}.tar | ||
retention-days: 90 | ||
overwrite: true |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.