Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support x64 and other updates #74

Merged
merged 7 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
269 changes: 135 additions & 134 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,134 +1,135 @@
version: 1.2.{build}

skip_tags: true

# fetch repository as zip archive
shallow_clone: true

pull_requests:
do_not_increment_build_number: true

# Do not build feature branch with open Pull Requests
# skip_branch_with_pr: true

# image:
# - Visual Studio 2019
# - Visual Studio 2017
# - Visual Studio 2015

environment:
global:
time_out_mins: 5
flag_to_deploy: false
appveyor_api_token:
secure: UJFCbRNHMOqQg3e3Kv/ZnaIqqwXAt+5HDldetaZsZ5E=

matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails
# allow_failures:
# - platform: x86
# configuration: Debug

skip_commits:
message: /\[chore\]/

only_commits:
files:
- projects/
- src/
- scripts/**/*.ps1
- appveyor.yml

for:
-
branches:
only:
- master
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
global:
job_to_deploy: 8 # 4(images) * 1(platform) * 2(configuration)
-
branches:
except:
- master
# only_commits:
# message: /\[build\]/
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
global:
job_to_deploy: 8 # 4(images) * 1(platform) * 2(configuration)

configuration:
- Debug
- Release

platform:
- Win32

# cache: packages/

install:
- ps: .\scripts\appveyor\install_coapp.ps1

before_build:
- ps: .\scripts\appveyor\clear_project_configuration.ps1
# - ps: nuget restore projects/Kiwano.sln

build:
parallel: true
project: projects/Kiwano.sln
verbosity: minimal

after_build:
- ps: .\scripts\appveyor\wait_for_other_jobs.ps1

artifacts:
- path: projects/output/**/*.lib
name: PublishedLibraries
- path: projects/output/**/*.pdb
name: PublishedSymbols

before_deploy:
- ps: .\scripts\appveyor\coapp_make.ps1

deploy:
- provider: GitHub
repository: KiwanoEngine/Kiwano
tag: v$(APPVEYOR_BUILD_VERSION)
release: v$(APPVEYOR_BUILD_VERSION)
description: Kiwano-v$(APPVEYOR_BUILD_VERSION) releases.
auth_token:
secure: psAvqoc1T3UXtZpgmtYjof7kEKlLBdnWyM3BmAIj7bC9LJYtk89XqX+fPIOZpRZX
artifact: /.*\.nupkg/
draft: true
on:
branch: master
# APPVEYOR_REPO_TAG: true
flag_to_deploy: true

- provider: NuGet
api_key:
secure: OG7anY4ofTg8aLWU+4a3GoyOzZ0K/iNtMzCd7XU4MKGJg/Q534gVXkT9PXoBdYVU
# skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master
# APPVEYOR_REPO_TAG: true
flag_to_deploy: true

notifications:
- provider: Email
to:
- 569629550@qq.com
on_build_success: true
on_build_failure: true
on_build_status_changed: false
version: 1.2.{build}

skip_tags: true

# fetch repository as zip archive
shallow_clone: true

pull_requests:
do_not_increment_build_number: true

# Do not build feature branch with open Pull Requests
# skip_branch_with_pr: true

# image:
# - Visual Studio 2019
# - Visual Studio 2017
# - Visual Studio 2015

environment:
global:
time_out_mins: 5
flag_to_deploy: false
appveyor_api_token:
secure: UJFCbRNHMOqQg3e3Kv/ZnaIqqwXAt+5HDldetaZsZ5E=

matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails
# allow_failures:
# - platform: x86
# configuration: Debug

skip_commits:
message: /\[chore\]/

only_commits:
files:
- projects/
- src/
- scripts/**/*.ps1
- appveyor.yml

for:
-
branches:
only:
- master
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
global:
job_to_deploy: 16 # 4(images) * 1(platform) * 4(configuration)
-
branches:
except:
- master
# only_commits:
# message: /\[build\]/
environment:
matrix:
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
global:
job_to_deploy: 4 # 1(images) * 1(platform) * 4(configuration)

configuration:
- Debug
- Release

platform:
- Win32
- x64

# cache: packages/

install:
- ps: .\scripts\appveyor\install_coapp.ps1

before_build:
- ps: .\scripts\appveyor\clear_project_configuration.ps1
# - ps: nuget restore projects/Kiwano.sln

build:
parallel: true
project: projects/Kiwano.sln
verbosity: minimal

after_build:
- ps: .\scripts\appveyor\wait_for_other_jobs.ps1

artifacts:
- path: projects/output/**/*.lib
name: PublishedLibraries
- path: projects/output/**/*.pdb
name: PublishedSymbols

before_deploy:
- ps: .\scripts\appveyor\coapp_make.ps1

deploy:
- provider: GitHub
repository: KiwanoEngine/Kiwano
tag: v$(APPVEYOR_BUILD_VERSION)
release: v$(APPVEYOR_BUILD_VERSION)
description: Kiwano-v$(APPVEYOR_BUILD_VERSION) releases.
auth_token:
secure: psAvqoc1T3UXtZpgmtYjof7kEKlLBdnWyM3BmAIj7bC9LJYtk89XqX+fPIOZpRZX
artifact: /.*\.nupkg/
draft: true
on:
branch: master
# APPVEYOR_REPO_TAG: true
flag_to_deploy: true

- provider: NuGet
api_key:
secure: OG7anY4ofTg8aLWU+4a3GoyOzZ0K/iNtMzCd7XU4MKGJg/Q534gVXkT9PXoBdYVU
# skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master
# APPVEYOR_REPO_TAG: true
flag_to_deploy: true

notifications:
- provider: Email
to:
- 569629550@qq.com
on_build_success: true
on_build_failure: true
on_build_status_changed: false
Loading