-
Notifications
You must be signed in to change notification settings - Fork 64
55 lines (46 loc) · 1.43 KB
/
build.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
name: Build
on:
push:
branches: [ main, 'release/**' ]
pull_request:
branches: [ main, 'release/**' ]
jobs:
build-windows:
runs-on: windows-2022
strategy:
matrix:
include:
- build-flavour: debug
output-subdir: _Comp64Debug
- build-flavour: debugoptimized
output-subdir: _Comp64DebugOptimized
- build-flavour: release
output-subdir: _Comp64Release
steps:
- name: Setup variables
uses: actions/github-script@v7
with:
script: core.exportVariable('GITHUB_SHA_SHORT', context.sha.substring(0, 7))
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Meson
run: pip install meson==0.62.1
- name: Build
shell: pwsh
run: |
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
. .\build_common.ps1
PerformBuild -BuildFlavour ${{matrix.build-flavour}} -BuildSubDir ${{matrix.output-subdir}} -Backend ninja -EnableTracy false copy_output
- name: Copy readme
run: copy artifacts_readme.txt _output
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: dxvk-remix-${{env.GITHUB_SHA_SHORT}}-${{github.run_number}}-${{matrix.build-flavour}}
path: |
_output\*.dll
_output\*.pdb
_output\*.txt
_output\usd\*