forked from gchudov/cuetools.net
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.22 KB
/
Copy pathCI-windows.yml
File metadata and controls
43 lines (40 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
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 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"