mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update build_audio.yml
This commit is contained in:
10
.github/workflows/build_audio.yml
vendored
10
.github/workflows/build_audio.yml
vendored
@@ -19,6 +19,9 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup MSVC Build Environment
|
||||||
|
uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
- name: Install vcpkg
|
- name: Install vcpkg
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/microsoft/vcpkg.git
|
git clone https://github.com/microsoft/vcpkg.git
|
||||||
@@ -33,22 +36,17 @@ jobs:
|
|||||||
echo "VCPKG_INCLUDE_PATH=${{ github.workspace }}\vcpkg\installed\x64-windows\include" >> $env:GITHUB_ENV
|
echo "VCPKG_INCLUDE_PATH=${{ github.workspace }}\vcpkg\installed\x64-windows\include" >> $env:GITHUB_ENV
|
||||||
echo "VCPKG_LIB_PATH=${{ github.workspace }}\vcpkg\installed\x64-windows\lib" >> $env:GITHUB_ENV
|
echo "VCPKG_LIB_PATH=${{ github.workspace }}\vcpkg\installed\x64-windows\lib" >> $env:GITHUB_ENV
|
||||||
|
|
||||||
- name: Build audio library (MSVC nmake)
|
- name: Build audio library
|
||||||
working-directory: libs/audio
|
working-directory: libs/audio
|
||||||
shell: cmd
|
|
||||||
run: |
|
run: |
|
||||||
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
|
|
||||||
nmake /f Makefile all
|
nmake /f Makefile all
|
||||||
|
|
||||||
- name: List build outputs
|
- name: List build outputs
|
||||||
working-directory: libs/audio
|
working-directory: libs/audio
|
||||||
shell: cmd
|
|
||||||
run: |
|
run: |
|
||||||
dir
|
dir
|
||||||
|
|
||||||
- name: Clean build artifacts
|
- name: Clean build artifacts
|
||||||
working-directory: libs/audio
|
working-directory: libs/audio
|
||||||
shell: cmd
|
|
||||||
run: |
|
run: |
|
||||||
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
|
|
||||||
nmake /f Makefile clean
|
nmake /f Makefile clean
|
||||||
|
|||||||
Reference in New Issue
Block a user