mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 03:30:13 +01:00
Update build_audio.yml
This commit is contained in:
32
.github/workflows/build_audio.yml
vendored
32
.github/workflows/build_audio.yml
vendored
@@ -38,13 +38,36 @@ jobs:
|
||||
- name: Setup MSVC environment
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Check dependencies
|
||||
run: make check-deps
|
||||
- name: Setup Developer Command Prompt
|
||||
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
|
||||
working-directory: libs/audio
|
||||
env:
|
||||
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
|
||||
run: make all
|
||||
shell: cmd
|
||||
@@ -97,6 +120,11 @@ jobs:
|
||||
restore-keys: |
|
||||
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
|
||||
run: |
|
||||
vcpkg install portaudio:${{ matrix.architecture }}-windows
|
||||
|
||||
Reference in New Issue
Block a user