Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

fix: return failed if unable to handle result in IAMStreamSelect ::Info #60

fix: return failed if unable to handle result in IAMStreamSelect ::Info

fix: return failed if unable to handle result in IAMStreamSelect ::Info #60

Workflow file for this run

name: C/C++ CI
on: [push]
jobs:
build-win:
runs-on: windows-2019
strategy:
matrix:
include:
- platform: 'Win32'
- platform: 'x64'
steps:
- uses: actions/checkout@v3
- name: install submodules
shell: cmd
run: |
git submodule update --init --recursive --remote
- name: install nasm
shell: cmd
run: |
git clone https://github.com/ShiftMediaProject/VSNASM.git --branch 0.9
.\VSNASM\install_script.bat
- name: install yasm
shell: cmd
run: |
git clone https://github.com/ShiftMediaProject/VSYASM.git
.\VSYASM\install_script.bat
- name: force /MT build
shell: bash
run: |
sed -i -e 's|<ClCompile>|&<RuntimeLibrary>MultiThreaded</RuntimeLibrary>|g' SMP/*/SMP/*.vcxproj
- name: add msbuild to PATH
uses: microsoft/setup-msbuild@v1
- name: build
run: MSBuild.exe VSFilter.sln /t:xy_sub_filter:Rebuild /p:WindowsTargetPlatformVersion=10.0.19041.0 /p:PlatformToolset=v142 /m /p:Configuration=Release /p:Platform=${{matrix.platform}}
- name: copy
run: |
cmake -E copy bin\lib_16.0\${{matrix.platform}}\Release\XySubFilter.dll dist\${{matrix.platform}}\XySubFilter.dll
cmake -E copy scripts\Install_XySubFilter.bat dist\${{matrix.platform}}\Install_XySubFilter.bat && cmake -E copy scripts\Uninstall_XySubFilter.bat dist\${{matrix.platform}}\Uninstall_XySubFilter.bat
- name: upload
uses: actions/upload-artifact@v3
with:
name: xysubfilter_with_libass
path: dist