Skip to content

restore peptide index support #296

restore peptide index support

restore peptide index support #296

Workflow file for this run

name: Build on Windows with windows-2019
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ created ]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Unpack 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: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
- name: Build Comet
run: |
msbuild Comet.sln -p:Configuration=Release -p:Platform=x64 -p:PlatformToolset=v142 -tv:Current
- name: Test Comet
shell: cmd
run: D:\a\Comet\Comet\x64\Release\Comet.exe -p
- name: Prepare release
shell: bash
run: |
mkdir release && \
cp x64/Release/comet.exe release/comet.win64.exe && \
cp x64/Release/CometWrapper.dll release/ && \
cp README.md release/README.md
- name: Upload build artificats
uses: actions/upload-artifact@v4
with:
name: comet-windows
path: release/*
- name: Upload binaries to the release
uses: svenstaro/upload-release-action@v2
if: ${{ github.event_name == 'release' }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: release/*
overwrite: true
file_glob: true