Replace CI with GitHub
This commit is contained in:
parent
c019e21743
commit
4923f3ba73
|
@ -0,0 +1,34 @@
|
|||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: [windows-2019]
|
||||
|
||||
steps:
|
||||
- name: Setup MSBuild.exe
|
||||
uses: warrenbuckley/Setup-MSBuild@v1
|
||||
|
||||
- name: Setup Nuget.exe
|
||||
uses: warrenbuckley/Setup-Nuget@v1
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
nuget restore de4dot.sln
|
||||
msbuild de4dot.sln /p:Configuration=Release /m /verbosity:normal /p:WarningLevel=0
|
||||
- name: Create ZIP
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
Compress-Archive -Path Release/* -DestinationPath de4dot-cex
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: de4dot-cex.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
17
appveyor.yml
17
appveyor.yml
|
@ -1,17 +0,0 @@
|
|||
version: x.x.{build}
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
skip_tags: true
|
||||
image: Visual Studio 2017
|
||||
configuration: Release
|
||||
install:
|
||||
- cmd: git submodule update --init --recursive
|
||||
build_script:
|
||||
- cmd: >-
|
||||
appveyor-retry nuget restore de4dot.sln
|
||||
|
||||
msbuild de4dot.sln /p:Configuration=Release /m /verbosity:normal /p:WarningLevel=0 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
artifacts:
|
||||
- path: Release/
|
||||
name: de4dot
|
Loading…
Reference in New Issue