Bump copyright year to 2024 #474
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI-windows | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: cmd | |
jobs: | |
build: | |
strategy: | |
matrix: | |
# https://github.com/actions/virtual-environments/blob/master/images/win/Windows2022-Readme.md | |
os: [windows-2022] | |
fail-fast: true | |
runs-on: ${{ matrix.os }} | |
env: | |
# yamllint disable-line rule:line-length | |
DEVENV_PATH: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com | |
MSBUILD_PATH: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe | |
SLN_PATH: CUETools.sln | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Apply patches | |
# yamllint disable-line rule:line-length | |
run: | | |
git apply --directory=ThirdParty/flac ThirdParty/submodule_flac_CUETools.patch --verbose --whitespace=nowarn | |
powershell -c "Expand-Archive ThirdParty/MAC_SDK/MAC_1037_SDK.zip -DestinationPath ThirdParty/MAC_SDK/" | |
git apply --directory=ThirdParty/MAC_SDK ThirdParty/ThirdParty_MAC_SDK_CUETools.patch --verbose | |
git apply --directory=ThirdParty/taglib-sharp ThirdParty/submodule_taglib-sharp_CUETools.patch --verbose | |
git apply --directory=ThirdParty/WavPack ThirdParty/submodule_WavPack_CUETools.patch --verbose | |
git apply --directory=ThirdParty/WindowsMediaLib ThirdParty/submodule_WindowsMediaLib_CUETools.patch --verbose | |
- name: MSBuild NuGet restore | |
run: | | |
"%MSBUILD_PATH%" "%SLN_PATH%" -t:restore -p:Configuration=Release | |
- name: Build Release|Any CPU | |
run: | | |
"%DEVENV_PATH%" "%SLN_PATH%" /Build "Release|Any CPU" | |
- name: Build Release|x64 | |
run: | | |
"%DEVENV_PATH%" "%SLN_PATH%" /Build "Release|x64" | |
- name: Build Release|Win32 | |
run: | | |
"%DEVENV_PATH%" "%SLN_PATH%" /Build "Release|Win32" |