Skip to content

Add libsoxr resampler #3

Add libsoxr resampler

Add libsoxr resampler #3

Workflow file for this run

name: windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .
# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Get branch name
run: echo "BranchName=$env:GITHUB_REF_NAME" >> $env:GITHUB_ENV
- name: Get commit hash
run: echo "CommitHash=$(git rev-parse --short=7 HEAD)" >> $env:GITHUB_ENV
- name: Get commit count
run: echo "CommitCount=$(git rev-list --count ${{env.BranchName}})" >> $env:GITHUB_ENV
- name: Get current date
run: echo "CurrentDate=$(date +'%Y-%m-%d')" >> $env:GITHUB_ENV
- name: Build MetaAudio.dll
working-directory: ${{env.GITHUB_WORKSPACE}}
run: scripts\build-MetaAudio-x86-Release.bat
shell: cmd
- name: Create Output directory
run: |
mkdir "Build-Output"
mkdir "Build-Output\metahook"
mkdir "Build-Output\metahook\plugins"
mkdir "Build-Output\metahook\dlls"
shell: cmd
- name: Copy dlls to Output
run: |
copy "install\x86\Release\bin\MetaAudio.dll" "Build-Output\metahook\plugins"
copy "install\x86\Release\bin\sndfile.dll" "Build-Output\metahook\dlls"
copy "install\x86\Release\bin\OpenAL32.dll" "Build-Output\metahook\dlls"
shell: cmd
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: MetaAudio-windows-x86.zip
path: Build-Output