-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.18 KB
/
pyinstallers.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
35
36
# Generate pyinstaller executables for Windows, macOS, and Linux
name: Generate PyInstaller
on: [push, pull_request]
jobs:
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.8"
- name: Conda info
shell: bash -l {0}
run: conda info
- name: Conda list
shell: pwsh
run: conda list
- name: Dependencies
run: |
conda activate test
python --version
conda install -c conda-forge pylibiio
pip install -r requirements_dev.txt
pip install -r doc/requirements.txt
pip install pyinstaller
- name: Generate Windows executable
run: |
pyinstaller --onefile --name=pybenchiio cli.py
- name: Upload Windows executable
uses: actions/upload-artifact@v4
with:
name: pybenchiio
path: dist/pybenchiio.exe