Merge pull request #1695 from Margen67/azure-pipelines

Set up CI with Azure Pipelines
This commit is contained in:
Luke Usher 2019-08-22 11:21:25 +01:00 committed by GitHub
commit 4eaf3799ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View File

@ -2,6 +2,7 @@
skip_commits:
files:
- .azure-pipelines.yml
- .travis.yml
init:

52
.azure-pipelines.yml Normal file
View File

@ -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)

View File

@ -1,6 +1,7 @@
# Cxbx-Reloaded - Original Xbox Emulator
[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://img.shields.io/badge/License-GPL%20v2-blue.svg)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/iao43irxl3umbp33?svg=true)](https://ci.appveyor.com/project/SoullessSentinel/cxbx-reloaded)
[![Azure](https://Cxbx-Reloaded.visualstudio.com/Cxbx-Reloaded/_apis/build/status/Cxbx-Reloaded.Cxbx-Reloaded?branchName=develop)](https://Cxbx-Reloaded.visualstudio.com/Cxbx-Reloaded/_build/latest?definitionId=7&branchName=develop)
[![Discord](https://img.shields.io/badge/chat-on%20discord-7289da.svg?logo=discord)](https://discord.gg/26Xjx23)
Cxbx-Reloaded is an emulator for running Microsoft Xbox (and eventually, Chihiro) games on Microsoft Windows.