AppVeyor: prevent unnecessary builds (#2888)
* prevent unnecessarybuilds
* readd qt5 string
sadly this is needed as of now:
ff6b0f86ec/cockatrice/src/releasechannel.cpp (L59-L68)
* wrap asterisks
* fixed with validator
https://ci.appveyor.com/tools/validate-yaml
* complete link
* add helpful links
this should not trigger a appveyor build
* add space in readme
this should not trigger a appveyor build
* highlight c++ types
this should not trigger a appveyor build
* remove empty line
this should not trigger a appveyor build
* declutter dockerignore
this should not trigger a appveyor build
This commit is contained in:
parent
ff6b0f86ec
commit
17202e8dba
6 changed files with 31 additions and 12 deletions
|
@ -1,8 +1,23 @@
|
||||||
version: 2.3.18-branch-{branch}-build-{build}
|
version: 2.3.18-branch-{branch}-build-{build}
|
||||||
|
|
||||||
|
# Skipping commits affecting specific files (GitHub only). More details here: https://www.appveyor.com/docs/appveyor-yml
|
||||||
|
skip_commits:
|
||||||
|
files:
|
||||||
|
- .github/*
|
||||||
|
- .travis/*
|
||||||
|
- .tx/*
|
||||||
|
- webclient/*
|
||||||
|
- .*ignore
|
||||||
|
- .gitlab-ci.yml
|
||||||
|
- .travis.yml
|
||||||
|
- '*.md'
|
||||||
|
|
||||||
image: Visual Studio 2015
|
image: Visual Studio 2015
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- c:\protobuf-release
|
- c:\protobuf-release
|
||||||
- c:\zlib-release
|
- c:\zlib-release
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- qt_ver: 5.9\msvc2015_64
|
- qt_ver: 5.9\msvc2015_64
|
||||||
|
@ -17,6 +32,7 @@ environment:
|
||||||
cmake_generator: Visual Studio 14 2015
|
cmake_generator: Visual Studio 14 2015
|
||||||
cmake_toolset: v140_xp # use the windows XP compatible toolset
|
cmake_toolset: v140_xp # use the windows XP compatible toolset
|
||||||
target_arch: x86
|
target_arch: x86
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: |
|
- ps: |
|
||||||
if (Test-Path c:\protobuf-release) {
|
if (Test-Path c:\protobuf-release) {
|
||||||
|
@ -37,8 +53,10 @@ install:
|
||||||
cmake . -G "$env:cmake_generator" -T "$env:cmake_toolset" -DCMAKE_INSTALL_PREFIX=c:/zlib-release
|
cmake . -G "$env:cmake_generator" -T "$env:cmake_toolset" -DCMAKE_INSTALL_PREFIX=c:/zlib-release
|
||||||
msbuild INSTALL.vcxproj /p:Configuration=Release
|
msbuild INSTALL.vcxproj /p:Configuration=Release
|
||||||
}
|
}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- ps: |
|
- ps: |
|
||||||
New-Item -ItemType directory -Path $env:APPVEYOR_BUILD_FOLDER\build
|
New-Item -ItemType directory -Path $env:APPVEYOR_BUILD_FOLDER\build
|
||||||
|
@ -59,15 +77,17 @@ build_script:
|
||||||
(New-Object PSObject | Add-Member -PassThru NoteProperty bin $new_name | Add-Member -PassThru NoteProperty cmake $cmake_name | Add-Member -PassThru NoteProperty commit $env:APPVEYOR_REPO_COMMIT) | ConvertTo-JSON | Out-File -FilePath "latest-$env:target_arch" -Encoding ASCII
|
(New-Object PSObject | Add-Member -PassThru NoteProperty bin $new_name | Add-Member -PassThru NoteProperty cmake $cmake_name | Add-Member -PassThru NoteProperty commit $env:APPVEYOR_REPO_COMMIT) | ConvertTo-JSON | Out-File -FilePath "latest-$env:target_arch" -Encoding ASCII
|
||||||
Push-AppveyorArtifact "latest-$env:target_arch"
|
Push-AppveyorArtifact "latest-$env:target_arch"
|
||||||
$version = $matches['content']
|
$version = $matches['content']
|
||||||
|
|
||||||
test: off
|
test: off
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
description: "Dev build of Cockatrice"
|
|
||||||
provider: GitHub
|
provider: GitHub
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: p+7wPVry2XEa6TBm9XH8IaQZbBmXQ/J2ldbGmcIxUZD3NkkPrSRRlmE7Of1CBBIO
|
secure: p+7wPVry2XEa6TBm9XH8IaQZbBmXQ/J2ldbGmcIxUZD3NkkPrSRRlmE7Of1CBBIO
|
||||||
|
description: "Dev build of Cockatrice"
|
||||||
artifact: /.*\.exe/
|
artifact: /.*\.exe/
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
force_update: true
|
force_update: true
|
||||||
on:
|
on:
|
||||||
appveyor_repo_tag: true
|
appveyor_repo_tag: true
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
.git/
|
.git/
|
||||||
CONTRIBUTING.md
|
|
||||||
Dockerfile
|
|
||||||
TODO.md
|
|
||||||
build/
|
build/
|
||||||
|
.github/
|
||||||
|
.travis/
|
||||||
|
.tx/
|
||||||
cockatrice/
|
cockatrice/
|
||||||
doc/
|
doc/
|
||||||
oracle/
|
oracle/
|
||||||
sounds/
|
Dockerfile
|
||||||
travis-compile.sh
|
|
||||||
travis-dependencies.sh
|
|
||||||
|
|
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
### Compatibility ###
|
### Compatibility ###
|
||||||
|
|
||||||
Cockatrice is compiled on all platform using C++11, even if the majority of the
|
Cockatrice is compiled on all platform using <kbd>C++11</kbd>, even if the majority of the
|
||||||
code is written in C++03.
|
code is written in <kbd>C++03</kbd>.
|
||||||
|
|
||||||
For consistency, use Qt data structures where possible, such as `QString` over
|
For consistency, use Qt data structures where possible, such as `QString` over
|
||||||
`std::string` or `QList` over `std::vector`.
|
`std::string` or `QList` over `std::vector`.
|
||||||
|
|
|
@ -56,3 +56,5 @@ notifications:
|
||||||
on_failure: change
|
on_failure: change
|
||||||
on_start: never
|
on_start: never
|
||||||
|
|
||||||
|
# official validator for travis.yml config files: https://yaml.travis-ci.org
|
||||||
|
# travis documentation: https://docs.travis-ci.com/user/customizing-the-build
|
||||||
|
|
|
@ -10,4 +10,3 @@ source_lang = en
|
||||||
file_filter = oracle/translations/oracle_<lang>.ts
|
file_filter = oracle/translations/oracle_<lang>.ts
|
||||||
source_file = oracle/translations/oracle_en.ts
|
source_file = oracle/translations/oracle_en.ts
|
||||||
source_lang = en
|
source_lang = en
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ We offer downloads for all full releases (recommended) and the latest developmen
|
||||||
|
|
||||||
- Latest full release (**recommended**): [](https://github.com/cockatrice/cockatrice/releases/latest) [](https://tooomm.github.io/github-release-stats/?username=Cockatrice&repository=Cockatrice)<br>
|
- Latest full release (**recommended**): [](https://github.com/cockatrice/cockatrice/releases/latest) [](https://tooomm.github.io/github-release-stats/?username=Cockatrice&repository=Cockatrice)<br>
|
||||||
|
|
||||||
- Latest development version: [](https://github.com/cockatrice/cockatrice/releases)
|
- Latest development version: [](https://github.com/cockatrice/cockatrice/releases)
|
||||||
- Development builds may not be stable and/or contain several bugs.
|
- Development builds may not be stable and/or contain several bugs.
|
||||||
- If you'd like to be a Cockatrice Beta Tester, use this version.
|
- If you'd like to be a Cockatrice Beta Tester, use this version.
|
||||||
- More information can be [found here](https://github.com/Cockatrice/Cockatrice/wiki/Release-Channels)
|
- More information can be [found here](https://github.com/Cockatrice/Cockatrice/wiki/Release-Channels)
|
||||||
|
|
Loading…
Reference in a new issue