Skip to content

Commit

Permalink
Create macpackage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
P-PPPP authored Sep 27, 2020
1 parent 04ff5b9 commit aaae2be
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/macpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: mac package

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Compile
run: |
pyinstaller -F srun.py -i 1.ico --noconsole
- name: Upload to Release
uses: JasonEtco/upload-to-release@v0.1.1

0 comments on commit aaae2be

Please sign in to comment.