Files
MSYS2-packages/appveyor.yml
Renato Silva 35e1904fdf CI: Support for package deployment.
A pacman repository is now generated with built packages, and exported by
AppVeyor to Bintray. Similar export can now be implemented for Drone, and
services other than Bintray can also be used.
2016-03-17 15:12:59 -03:00

26 lines
954 B
YAML

environment:
DEPLOY_ACCOUNT: Alexpux
PACMAN_REPOSITORY_NAME: ci.msys
PACMAN_REPOSITORY_URL: https://dl.bintray.com/$(APPVEYOR_ACCOUNT_NAME)/msys2
BUILD_URL: https://ci.appveyor.com/project/$(APPVEYOR_ACCOUNT_NAME)/$(APPVEYOR_PROJECT_NAME)/build/$(APPVEYOR_BUILD_VERSION)
build_script:
# TODO: implement update-core --noconfirm and replace the below command line
- C:\msys64\usr\bin\pacman --sync --refresh --refresh --needed --noconfirm msys2-runtime msys2-runtime-devel bash pacman pacman-mirrors
- C:\msys64\usr\bin\bash --login -c "$(cygpath ${APPVEYOR_BUILD_FOLDER})/ci-build.sh"
artifacts:
- path: artifacts\*
deploy:
- provider: BinTray
username: $(APPVEYOR_ACCOUNT_NAME)
subject: $(APPVEYOR_ACCOUNT_NAME)
package: $(PACMAN_REPOSITORY_NAME)
version: latest
publish: true
override: true
repo: msys2
api_key:
secure: BINTRAY_TOKEN_ENCRYPTED_BY_APPVEYOR