Files
cuetools.net/.github/workflows/release-windows.yml
Wolfgang Stöggl 3bc8e2f496 Update libFLAC to 1.3.3 git 27c6157 (#93)
An issue with currently used libFLAC version 1.3.2 git 45f7d41 has been
reported [1]. Compression efficiency was affected, depending on CPU
type.
- Used the following commands, to switch the flac submodule to upstream
  xiph/flac repo and checkout commit 27c6157:
    git submodule set-url ThirdParty/flac \
    https://github.com/xiph/flac.git
    git submodule update --init --recursive --remote ThirdParty/flac
    pushd ThirdParty/flac/
    git checkout 27c615706cedd252a206dd77e3910dfa395dcc49
    popd
- Add patch based on commits of GitHub repo gchudov/flac
  "project file modified to build the .dll for use with CUETools"
  (commits 36fce5b, 6735ddd, 8f4f296, 900bf23), which is applied using:
  git apply --directory=ThirdParty/flac \
  ThirdParty/submodule_flac_CUETools.patch
- Add info on how to apply ThirdParty/submodule_flac_CUETools.patch
  to README.md
- Update GitHub actions accordingly for applying the patch to the
  checked out xiph/flac submodule

[1] https://hydrogenaud.io/index.php?topic=120750.0
2021-04-05 05:00:14 +02:00

52 lines
1.4 KiB
YAML

---
name: release-windows
# yamllint disable-line rule:truthy
on:
push:
tags:
- '*'
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 patch
# yamllint disable-line rule:line-length
run: git apply --directory=ThirdParty/flac ThirdParty/submodule_flac_CUETools.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"
- name: Collect files
run: |
CUETools\collect_files.bat
- uses: actions/upload-artifact@v2
with:
name: deploy
path: bin/Release/CUETools_*/