Skip to content

Commit

Permalink
Create macos-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FabbriniMarco authored Sep 27, 2024
1 parent c1722e8 commit 4fcd5c3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build macOS Executable

on: [push]

jobs:
build-macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies from requirements.txt
run: |
python -m pip install --upgrade pip
pip install pandas tk ttkbootstrap
- name: Install PyInstaller
run: |
pip install pyinstaller
- name: Build macOS Executable
run: |
pyinstaller --onefile --windowed --add-data "index_database.tsv;." --add-data "header.tsv;." --add-data "EXAMPLE_PLATES.xlsx;." --add-data "ICON.ico;." --icon "ICON.ico" GenerateMiSeqManifest.py
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: macos-executable
path: dist/

0 comments on commit 4fcd5c3

Please sign in to comment.