Files
cuetools.net/.github/workflows/CI-windows.yml
Wolfgang Stöggl 63a84f4331 Update WavPack to 5.4.0
- Used the following commands, to switch the WavPack submodule to
  upstream dbry/WavPack repo and checkout commit 2ce3c06 (5.4.0):
    git submodule set-url ThirdParty/WavPack \
    https://github.com/dbry/WavPack.git
    git submodule update --init --recursive --remote ThirdParty/WavPack
    pushd ThirdParty/WavPack/
    git checkout 2ce3c069be548e82ea9c05741ace6583e549c6de
    popd
- Add patch based on commits of GitHub repo gchudov/WavPack
  "Converted projects to work with VS2017 and configured wavpackdll for
  use with CUETools."
  (commits c2d60b1, 9b59bcd), which is applied using:
  git apply --directory=ThirdParty/WavPack \
  ThirdParty/submodule_WavPack_CUETools_VS2017.patch
- A patch for compiling with VS2019 is provided too:
  ThirdParty/submodule_WavPack_CUETools_VS2019.patch
- Add info on how to apply the patch to README.md
- Update GitHub actions accordingly for applying the patch to the
  checked out dbry/WavPack submodule
2021-04-28 21:31:53 +02:00

46 lines
1.3 KiB
YAML

---
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/Windows2016-Readme.md
os: [windows-2016]
fail-fast: true
runs-on: ${{ matrix.os }}
env:
# yamllint disable-line rule:line-length
DEVENV_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.com
SLN_PATH: CUETools\CUETools.sln
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# nasm is required for building Release|Win32
- uses: ilammy/setup-nasm@v1
- name: Apply patches
# yamllint disable-line rule:line-length
run: |
git apply --directory=ThirdParty/flac ThirdParty/submodule_flac_CUETools.patch --verbose
git apply --directory=ThirdParty/WavPack ThirdParty/submodule_WavPack_CUETools_VS2017.patch --verbose
- 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"