Update build_audio.yml

This commit is contained in:
Anthony Samms
2025-09-15 12:21:53 -04:00
parent 97c59e0021
commit c2e17d2c3e

View File

@@ -38,13 +38,36 @@ jobs:
- name: Setup MSVC environment - name: Setup MSVC environment
uses: microsoft/setup-msbuild@v2 uses: microsoft/setup-msbuild@v2
- name: Check dependencies - name: Setup Developer Command Prompt
run: make check-deps uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- name: Debug Makefile and environment
run: |
echo "Current directory:"
dir
echo "Makefile exists:"
if exist Makefile (echo Yes) else (echo No)
echo "Available make targets:"
make help || echo "Help target not available"
echo "VCPKG_ROOT: %VCPKG_ROOT%"
echo "VCPKG_INSTALLATION_ROOT: %VCPKG_INSTALLATION_ROOT%"
shell: cmd shell: cmd
working-directory: libs/audio working-directory: libs/audio
env: env:
VCPKG_INSTALLATION_ROOT: ${{ env.VCPKG_ROOT }} VCPKG_INSTALLATION_ROOT: ${{ env.VCPKG_ROOT }}
- name: Check dependencies
run: |
echo "Attempting to check dependencies..."
make check-deps || echo "check-deps target failed or not available, continuing..."
shell: cmd
working-directory: libs/audio
continue-on-error: true
env:
VCPKG_INSTALLATION_ROOT: ${{ env.VCPKG_ROOT }}
- name: Build audio library - name: Build audio library
run: make all run: make all
shell: cmd shell: cmd
@@ -97,6 +120,11 @@ jobs:
restore-keys: | restore-keys: |
vcpkg-${{ matrix.architecture }}-${{ matrix.configuration }}- vcpkg-${{ matrix.architecture }}-${{ matrix.configuration }}-
- name: Setup MSVC environment and Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.architecture }}
- name: Install vcpkg dependencies - name: Install vcpkg dependencies
run: | run: |
vcpkg install portaudio:${{ matrix.architecture }}-windows vcpkg install portaudio:${{ matrix.architecture }}-windows