Skip to content

Commit

Permalink
Upgrade makemhr workflow to build and upload utils
Browse files Browse the repository at this point in the history
- 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
ThreeDeeJay authored Aug 3, 2024
1 parent 30e6999 commit 93e378f
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/makemhr.yml → .github/workflows/utils.yml
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:

Expand All @@ -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]
Expand All @@ -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"

0 comments on commit 93e378f

Please sign in to comment.