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

View File

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

View File

@ -4,6 +4,7 @@ on:
push: push:
branches-ignore: branches-ignore:
- 'gh-pages' - 'gh-pages'
- 'master'
paths-ignore: paths-ignore:
- '.github/CONTRIBUTING.md' - '.github/CONTRIBUTING.md'
- '.github/FUNDING.md' - '.github/FUNDING.md'
@ -16,6 +17,7 @@ on:
pull_request: pull_request:
branches-ignore: branches-ignore:
- 'gh-pages' - 'gh-pages'
- 'master'
paths-ignore: paths-ignore:
- '.github/CONTRIBUTING.md' - '.github/CONTRIBUTING.md'
- '.github/FUNDING.md' - '.github/FUNDING.md'
@ -31,7 +33,7 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
matrix: matrix:
cpu_arch: [SSE2, AVX, AVX2, AVX512] # SSE2 BUILDS WON'T WORK ON NON-AVX(2) CPUs! cpu_arch: [SSE2, AVX, AVX2, AVX512] # SSE2 BUILDS WON'T WORK ON NON-AVX(2) CPUs!
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master