forked from sorayuki/VSFilterMod
-
Notifications
You must be signed in to change notification settings - Fork 1
25 lines (21 loc) · 861 Bytes
/
Copy pathc-cpp.yml
File metadata and controls
25 lines (21 loc) · 861 Bytes
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
name: C/C++ CI
on: [push]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: set msbuild (windows)
uses: ilammy/msvc-dev-cmd@v1
- name: build-x86
run: msbuild /t:Rebuild /p:WindowsTargetPlatformVersion=10.0 /p:PlatformToolset=v143 /m /p:"Configuration=Release (MOD)" /p:Platform=Win32
- name: build-x64
run: msbuild /t:Rebuild /p:WindowsTargetPlatformVersion=10.0 /p:PlatformToolset=v143 /m /p:"Configuration=Release (MOD)" /p:Platform=x64
- name: copy
shell: cmd
run: cmake -E copy "bin\Win32\VSFilter\Release (MOD)\VSFilterMod.dll" dist\x86\VSFilterMod.dll && cmake -E copy "bin\x64\VSFilter\Release (MOD)\VSFilterMod.dll" dist\x64\VSFilterMod.dll
- name: upload
uses: actions/upload-artifact@v4
with:
name: VSFilterMod_bin
path: dist