[CI] Skip master branch, also rename xenia.exe to xenia-canary.exe in AppVeyor+Azure

This commit is contained in:
Margen67 2019-11-25 02:48:30 -08:00 committed by illusion98
parent 03e926605a
commit a9cca29948
3 changed files with 14 additions and 10 deletions

View File

@ -1,20 +1,18 @@
version: 1.0.{build}-{branch}
clone_depth: 1
matrix:
fast_finish: true
branches:
except:
- gh-pages
- master
skip_tags: true
skip_commits:
files:
- docs/*
- docs/*/*
- .github/*
- .github/*/*
- LICENSE
- README.md
- .azure-pipelines.yml
@ -39,7 +37,8 @@ build_script:
after_build:
- |-
cd build\bin\Windows\Release
7z a ..\..\..\..\xenia-%appveyor_repo_branch%.zip ..\..\..\..\LICENSE xenia.exe
ren xenia.exe xenia-canary.exe
7z a ..\..\..\..\xenia-%appveyor_repo_branch%.zip ..\..\..\..\LICENSE xenia-canary.exe
7z a ..\..\..\..\xenia-vfs-dump-%appveyor_repo_branch%.zip ..\..\..\..\LICENSE xenia-vfs-dump.exe
cd ..\..\..\..

View File

@ -4,6 +4,7 @@ trigger:
- '*'
exclude:
- gh-pages
- master
paths:
exclude:
- docs/*
@ -18,6 +19,7 @@ pr:
- '*'
exclude:
- gh-pages
- master
paths:
exclude:
- docs/*
@ -33,8 +35,8 @@ jobs:
vmImage: windows-latest
strategy:
matrix:
SSE2:
cpu_arch: SSE2
SSE2: # SSE2 BUILDS WON'T WORK ON NON-AVX(2) CPUs!
cpu_arch: SSE2 # SSE2 BUILDS WON'T WORK ON NON-AVX(2) CPUs!
AVX:
cpu_arch: AVX
AVX2:
@ -50,7 +52,8 @@ jobs:
- script: |
cd build\bin\Windows\Release
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip ..\..\..\..\LICENSE xenia.exe
ren xenia.exe xenia-canary.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip ..\..\..\..\LICENSE xenia-canary.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-vfs-dump-$(Build.SourceBranchName).zip ..\..\..\..\LICENSE xenia-vfs-dump.exe
displayName: 'Create archives'

View File

@ -4,6 +4,7 @@ on:
push:
branches-ignore:
- 'gh-pages'
- 'master'
paths-ignore:
- '.github/CONTRIBUTING.md'
- '.github/FUNDING.md'
@ -16,6 +17,7 @@ on:
pull_request:
branches-ignore:
- 'gh-pages'
- 'master'
paths-ignore:
- '.github/CONTRIBUTING.md'
- '.github/FUNDING.md'