Merge pull request #1695 from Margen67/azure-pipelines
Set up CI with Azure Pipelines
This commit is contained in:
commit
4eaf3799ef
|
@ -2,6 +2,7 @@
|
|||
|
||||
skip_commits:
|
||||
files:
|
||||
- .azure-pipelines.yml
|
||||
- .travis.yml
|
||||
|
||||
init:
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- '*'
|
||||
paths:
|
||||
exclude:
|
||||
- .appveyor.yml
|
||||
- .travis.yml
|
||||
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- '*'
|
||||
paths:
|
||||
exclude:
|
||||
- .appveyor.yml
|
||||
- .travis.yml
|
||||
|
||||
jobs:
|
||||
- job:
|
||||
pool:
|
||||
vmImage: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
Release:
|
||||
configuration: Release
|
||||
Debug:
|
||||
configuration: Debug
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
git submodule update --init --recursive
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -G "Visual Studio 16 2019" -A Win32
|
||||
displayName: 'Before build'
|
||||
|
||||
- script: |
|
||||
cd build
|
||||
cmake --build . --config %configuration%
|
||||
displayName: 'Build'
|
||||
|
||||
- script: |
|
||||
cd "build\bin\%configuration%"
|
||||
7z a "..\..\..\%configuration%.zip" ..\..\..\COPYING ..\..\..\README.md Cxbx.exe glew32.dll subhook.dll CxbxVSBC.dll cxbxr-debugger.exe capstone.dll cs_x86.dll
|
||||
condition: and(succeeded(), eq(variables['Agent.JobName'], 'Release'))
|
||||
displayName: 'After build'
|
||||
|
||||
- publish: $(configuration).zip
|
||||
artifact: $(configuration)
|
||||
condition: and(succeeded(), eq(variables['Agent.JobName'], 'Release'))
|
||||
displayName: Publish artifact(s)
|
|
@ -1,6 +1,7 @@
|
|||
# Cxbx-Reloaded - Original Xbox Emulator
|
||||
[](https://img.shields.io/badge/License-GPL%20v2-blue.svg)
|
||||
[](https://ci.appveyor.com/project/SoullessSentinel/cxbx-reloaded)
|
||||
[](https://Cxbx-Reloaded.visualstudio.com/Cxbx-Reloaded/_build/latest?definitionId=7&branchName=develop)
|
||||
[](https://discord.gg/26Xjx23)
|
||||
|
||||
Cxbx-Reloaded is an emulator for running Microsoft Xbox (and eventually, Chihiro) games on Microsoft Windows.
|
||||
|
|
Loading…
Reference in New Issue