33 lines
1.3 KiB
YAML
33 lines
1.3 KiB
YAML
os: linux
|
|
language: python
|
|
git:
|
|
depth: 400
|
|
python:
|
|
- 3.8
|
|
matrix:
|
|
include:
|
|
- os: osx
|
|
osx_image: xcode11.3
|
|
language: generic
|
|
before_install:
|
|
- bash scripts/setup-osx.sh
|
|
install:
|
|
- python3 scripts/compile_lang.py
|
|
- python3 db_update.py
|
|
- export PYFA_VERSION="$(python3 scripts/dump_version.py)"
|
|
- bash scripts/package-osx.sh
|
|
before_deploy:
|
|
- export RELEASE_PKG_FILE=$(ls *.deb)
|
|
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
|
|
deploy:
|
|
provider: releases
|
|
api_key:
|
|
secure: D8tBW0kyHlKf/sXS69aIuexsYTx9auY2DzudKFlfcvdzqat4N2XZqZbZCTVd7YVvptQ8Dj0oZ/p3KUxEGpnJZmlTeJL142rpM/qaNd6wOIMy2yUde/aZl+W9JLFNQp7KHutM+MxObYLzJGihx/8YsupmFx6lxgdngGDXtXYZe/ruDIWDs92ShoKJ4vlce9Csm7eGKv7wv6Z6V9sD5FS3E9J8xdWStHxsbrkPBOflmG+uHU09dpEqzUm+ZYROIoTwig1Xbw3fw+gfjmNrfdSU4fAJcVZI1hrgoenZyJbMfhI2Ej/nZdbZgaXcZNF/eUpqOGgbPe1JljqFnHTbexcE+LPBVyAToScsGMpByHhig67DrZ0nk9gSZoC6CPNl5YS6xub+5dncMJ3P5L03DOGYRu4SL9NczbeuQyKuea7+JPP/8VLwfFDSEqbNEAmgzABAzrdfano+VXtuBuE/Tiy5eE7le9hJu6aSQoKW1SA3cUhMsmr2amzdO96sh+PN8FA1oNr45Yuy0pqOj4SUIkb8JUy4th7vgdhljEkSxrHDK1UcHpxUTp+IIUZkZVVk50aH68dQZxGwSTVOeRxpjrTcEf7VCGaM98qxi/ZK4RW6Ewiq0eo0AxwEeB2Zm841lycGPR/406vM9/ZBzv5IhELIdDdVWTk+dGjJBXB8z5hPJOg=
|
|
file_glob: true
|
|
file: "dist/pyfa-*.zip"
|
|
skip_cleanup: true
|
|
draft: true
|
|
on:
|
|
tags: true
|
|
repo: pyfa-org/Pyfa
|