-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 925 Bytes
/
macos-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 --target-arch universal2 --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@v4
with:
name: macos-executable
path: dist/