mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
update openal-soft to 1.24.3
keeping the alt 87514151c4 (diff-73a8dc1ce58605f6c5ea53548454c3bae516ec5132a29c9d7ff7edf9730c75be)
This commit is contained in:
parent
12db0500e8
commit
ba32094b7b
276 changed files with 49304 additions and 8712 deletions
106
Engine/lib/openal-soft/.github/workflows/ci.yml
vendored
106
Engine/lib/openal-soft/.github/workflows/ci.yml
vendored
|
|
@ -106,9 +106,35 @@ jobs:
|
|||
libdbus-1-dev",
|
||||
build_type: "Release"
|
||||
}
|
||||
|
||||
- {
|
||||
name: "Android_armeabi-v7a-Release",
|
||||
os: ubuntu-latest,
|
||||
cmake_opts: "-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
|
||||
-DALSOFT_EMBED_HRTF_DATA=TRUE \
|
||||
-DALSOFT_REQUIRE_OPENSL=ON",
|
||||
build_type: "Release"
|
||||
}
|
||||
- {
|
||||
name: "Android_arm64-v8a-Release",
|
||||
os: ubuntu-latest,
|
||||
cmake_opts: "-DANDRIOD_ABI=arm64-v8a \
|
||||
-DANDROID_PLATFORM=25 \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
|
||||
-DALSOFT_EMBED_HRTF_DATA=TRUE \
|
||||
-DALSOFT_REQUIRE_OPENSL=ON",
|
||||
build_type: "Release"
|
||||
}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Get current commit tag, short hash, count and date
|
||||
run: |
|
||||
echo "CommitTag=$(git describe --tags --abbrev=0 --match *.*.*)" >> $env:GITHUB_ENV
|
||||
echo "CommitHashShort=$(git rev-parse --short=8 HEAD)" >> $env:GITHUB_ENV
|
||||
echo "CommitCount=$(git rev-list --count $env:GITHUB_REF_NAME)" >> $env:GITHUB_ENV
|
||||
echo "CommitDate=$(git show -s --date=iso-local --format=%cd)" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Install Dependencies
|
||||
shell: bash
|
||||
|
|
@ -133,8 +159,8 @@ jobs:
|
|||
cd build
|
||||
ctest
|
||||
|
||||
- name: Create Archive
|
||||
if: ${{ matrix.config.os == 'windows-latest' }}
|
||||
- name: Set up Windows artifacts
|
||||
if: ${{ contains(matrix.config.name, 'Win') }}
|
||||
shell: bash
|
||||
run: |
|
||||
cd build
|
||||
|
|
@ -143,10 +169,74 @@ jobs:
|
|||
cp ${{matrix.config.build_type}}/soft_oal.dll archive
|
||||
cp ${{matrix.config.build_type}}/OpenAL32.dll archive/router
|
||||
|
||||
- name: Upload Archive
|
||||
# Upload package as an artifact of this workflow.
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
if: ${{ matrix.config.os == 'windows-latest' }}
|
||||
- name: Set up Android artifacts
|
||||
if: ${{ contains(matrix.config.name, 'Android') }}
|
||||
shell: bash
|
||||
run: |
|
||||
cd build
|
||||
mkdir archive
|
||||
cp ${{github.workspace}}/build/libopenal.so archive/
|
||||
|
||||
- name: Upload build as a workflow artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ contains(matrix.config.name, 'Win') || contains(matrix.config.name, 'Android') }}
|
||||
with:
|
||||
name: soft_oal-${{matrix.config.name}}
|
||||
path: build/archive
|
||||
|
||||
outputs:
|
||||
CommitTag: ${{env.CommitTag}}
|
||||
CommitHashShort: ${{env.CommitHashShort}}
|
||||
CommitCount: ${{env.CommitCount}}
|
||||
CommitDate: ${{env.CommitDate}}
|
||||
|
||||
release:
|
||||
if: github.event_name != 'pull_request'
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4.1.7
|
||||
with:
|
||||
path: "build"
|
||||
pattern: "*-Win??-Release"
|
||||
github-token: "${{secrets.GITHUB_TOKEN}}"
|
||||
|
||||
- name: Set up build folders
|
||||
run: |
|
||||
mkdir -p build/release/OpenALSoft/Documentation
|
||||
mkdir -p build/release/OpenALSoft/Win32
|
||||
mkdir -p build/release/OpenALSoft/Win64
|
||||
echo "${{github.repository}}" >> "build/release/OpenALSoft/Documentation/Version.txt"
|
||||
echo "v${{needs.build.outputs.CommitTag}}-${{needs.build.outputs.CommitHashShort}} ${{github.ref_name}}" >> "build/release/OpenALSoft/Documentation/Version.txt"
|
||||
echo "Commit #${{needs.build.outputs.CommitCount}}" >> "build/release/OpenALSoft/Documentation/Version.txt"
|
||||
echo "${{needs.build.outputs.CommitDate}}" >> "build/release/OpenALSoft/Documentation/Version.txt"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/README.md -o "build/release/OpenALSoft/Documentation/ReadMe.txt"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/ChangeLog -o "build/release/OpenALSoft/Documentation/ChangeLog.txt"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/COPYING -o "build/release/OpenALSoft/Documentation/License.txt"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/BSD-3Clause -o "build/release/OpenALSoft/Documentation/License_BSD-3Clause.txt"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/LICENSE-pffft -o "build/release/OpenALSoft/Documentation/License_PFFFT.txt"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/alsoftrc.sample -o "build/release/OpenALSoft/Win32/alsoft.ini"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/alsoftrc.sample -o "build/release/OpenALSoft/Win64/alsoft.ini"
|
||||
cp "build/soft_oal-Win32-Release/soft_oal.dll" "build/release/OpenALSoft/Win32/OpenAL32.dll"
|
||||
cp "build/soft_oal-Win64-Release/soft_oal.dll" "build/release/OpenALSoft/Win64/OpenAL32.dll"
|
||||
cp -r "build/release/OpenALSoft" "build/release/OpenALSoft+HRTF"
|
||||
cp "build/release/OpenALSoft+HRTF/Win32/alsoft.ini" "build/release/OpenALSoft+HRTF/Documentation/alsoft.ini"
|
||||
curl https://raw.githubusercontent.com/${{github.repository}}/${{github.ref_name}}/configs/HRTF/alsoft.ini -o "build/release/OpenALSoft+HRTF/Win32/alsoft.ini"
|
||||
cp "build/release/OpenALSoft+HRTF/Win32/alsoft.ini" "build/release/OpenALSoft+HRTF/Win64/alsoft.ini"
|
||||
|
||||
- name: Compress artifacts
|
||||
run: |
|
||||
cd build/release
|
||||
7z a OpenALSoft.zip ./OpenALSoft/*
|
||||
7z a OpenALSoft+HRTF.zip ./OpenALSoft+HRTF/*
|
||||
|
||||
- name: GitHub pre-release
|
||||
uses: "Sweeistaken/sweelease@v1.1"
|
||||
with:
|
||||
repo_token: "${{secrets.GITHUB_TOKEN}}"
|
||||
automatic_release_tag: "latest"
|
||||
prerelease: true
|
||||
title: "OpenAL Soft v${{needs.build.outputs.CommitTag}}-${{needs.build.outputs.CommitHashShort}}"
|
||||
files: "build/release/*"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,35 @@
|
|||
name: makemhr
|
||||
name: utils
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'utils/makemhr/**'
|
||||
- '.github/workflows/makemhr.yml'
|
||||
- 'utils/**'
|
||||
- 'examples/**'
|
||||
- '.github/workflows/utils.yml'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
Branch: ${{github.ref_name}}
|
||||
|
||||
jobs:
|
||||
Win64:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Clone repo and submodules
|
||||
run: git clone https://github.com/${{github.repository}}.git . --branch ${{env.Branch}}
|
||||
|
||||
- name: Get current date
|
||||
run: echo "CurrentDate=$(date +'%Y-%m-%d')" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Get commit hash
|
||||
run: echo "CommitHash=$(git rev-parse --short=7 HEAD)" >> $env:GITHUB_ENV
|
||||
- name: Get current date, commit hash and count
|
||||
run: |
|
||||
echo "CommitDate=$(git show -s --date=format:'%Y-%m-%d' --format=%cd)" >> $env:GITHUB_ENV
|
||||
echo "CommitHashShort=$(git rev-parse --short=7 HEAD)" >> $env:GITHUB_ENV
|
||||
echo "CommitCount=$(git rev-list --count ${{env.Branch}} --)" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Clone libmysofa
|
||||
run: git clone --depth 1 --branch v1.3.1 https://github.com/hoene/libmysofa.git libmysofa
|
||||
run: |
|
||||
git clone https://github.com/hoene/libmysofa.git --branch v1.3.3
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.1.3
|
||||
|
|
@ -52,25 +56,30 @@ jobs:
|
|||
- name: Collect artifacts
|
||||
run: |
|
||||
copy "build/Release/makemhr.exe" "Artifacts/makemhr.exe"
|
||||
copy "build/Release/sofa-info.exe" "Artifacts/sofa-info.exe"
|
||||
copy "build/Release/alrecord.exe" "Artifacts/alrecord.exe"
|
||||
copy "build/Release/altonegen.exe" "Artifacts/altonegen.exe"
|
||||
copy "build/Release/openal-info.exe" "Artifacts/openal-info.exe"
|
||||
copy "build/Release/allafplay.exe" "Artifacts/allafplay.exe"
|
||||
copy "libmysofa/windows/third-party/zlib-1.2.11/bin/zlib.dll" "Artifacts/zlib.dll"
|
||||
|
||||
- name: Upload makemhr artifact
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: makemhr
|
||||
name: ${{env.CommitDate}}_utils-r${{env.CommitCount}}@${{env.CommitHashShort}}
|
||||
path: "Artifacts/"
|
||||
|
||||
- name: Compress artifacts
|
||||
uses: papeloto/action-zip@v1
|
||||
with:
|
||||
files: Artifacts/
|
||||
dest: "Release/makemhr.zip"
|
||||
dest: "Release/utils.zip"
|
||||
|
||||
- name: GitHub pre-release
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{secrets.GITHUB_TOKEN}}"
|
||||
automatic_release_tag: "makemhr"
|
||||
automatic_release_tag: "utils"
|
||||
prerelease: true
|
||||
title: "[${{env.CurrentDate}}] makemhr-${{env.CommitHash}}"
|
||||
files: "Release/makemhr.zip"
|
||||
title: "[${{env.CommitDate}}] utils-r${{env.CommitCount}}@${{env.CommitHashShort}}"
|
||||
files: "Release/utils.zip"
|
||||
Loading…
Add table
Add a link
Reference in a new issue