-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade makemhr workflow to build and upload utils
- Includes makemhr, sofa-info, alrecord, altonegen, openal-info and allafplay Windows executables - Uses my libmysofa fork that removes a filesize/density limit, so that makemhr is able to convert larger SOFA files
- Loading branch information
1 parent
30e6999
commit 93e378f
Showing
1 changed file
with
15 additions
and
10 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: makemhr | ||
name: utils | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'utils/makemhr/**' | ||
- '.github/workflows/makemhr.yml' | ||
- 'utils/**' | ||
- '.github/workflows/utils.yml' | ||
|
||
workflow_dispatch: | ||
|
||
|
@@ -25,7 +25,7 @@ jobs: | |
run: echo "CommitHash=$(git rev-parse --short=7 HEAD)" >> $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 --depth 1 https://github.com/ThreeDeeJay/libmysofa.git | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
@@ -52,25 +52,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 | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: makemhr | ||
name: utils | ||
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.CurrentDate}}] utils-${{env.CommitHash}}" | ||
files: "Release/utils.zip" |