1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-11 08:46:25 +00:00

pipelines

This commit is contained in:
darodi
2022-03-03 21:45:57 +01:00
parent 237f343e62
commit b39076a9f4
3 changed files with 160 additions and 0 deletions

45
.github/workflows/package-macos.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: build KCC for mac os
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel pyinstaller
pip install -r requirements.txt
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install -g appdmg
- name: build binary
run: |
python setup.py build_binary
- name: upload build
uses: actions/upload-artifact@v3
with:
name: mac-os-build
path: dist/*.dmg
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
generate_release_notes: true
files: |
CHANGELOG.md
LICENSE.txt
dist/*.dmg