Create linux.yml #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: windows-2019 build | |
on: | |
push: | |
branches: [ Restructuring ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: unzip Thermo MSFileReader | |
shell: bash | |
run: unzip -P iacceptthelicense extern/msfreader.zip -d dlls | |
- name: register Thermo MSFileReader | |
shell: cmd | |
run: FOR %%G IN (dlls\*.dll) DO regsvr32 /S %%G | |
- name: msbuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: build mstoolkit | |
# use -p:PreDef=/D_NO_THERMORAW to build MSToolkit without Thermo raw support windows | |
run: msbuild VisualStudio/MSToolkit.sln -p:Configuration=Release -p:Platform=x64 -p:PlatformToolset=v142 -tv:Current | |
- name: test | |
shell: cmd | |
run: D:\a\mstoolkit\mstoolkit\VisualStudio\x64\Release\MSSingleScan.exe | |
- name: test DLL | |
shell: cmd | |
run: D:\a\mstoolkit\mstoolkit\VisualStudio\x64\Release\DLL\MSSingleScan.exe |