forked from crosire/reshade
-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (47 loc) · 1.33 KB
/
Copy pathbuild.yml
File metadata and controls
58 lines (47 loc) · 1.33 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v2
- name: Build ReShade (32-bit)
run: |
msbuild ReShade.sln /p:Configuration=Release /p:Platform=32-bit
- name: Build ReShade (64-bit)
run: |
msbuild ReShade.sln /p:Configuration=Release /p:Platform=64-bit
- name: Build ReShade Setup
run: |
msbuild ReShade.sln /p:Configuration="Release Setup"
- name: Upload ReShade (32-bit)
uses: actions/upload-artifact@v4
with:
name: ReShade (32-bit)
path: './bin/Win32/Release/ReShade32.dll'
- name: Upload ReShade (64-bit)
uses: actions/upload-artifact@v4
with:
name: ReShade (64-bit)
path: './bin/x64/Release/ReShade64.dll'
- name: Upload ReShade Setup
uses: actions/upload-artifact@v4
with:
name: ReShade Setup
path: './bin/AnyCPU/Release/ReShade Setup.exe'