Skip to content

Commit

Permalink
Add pyinstaller generation
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Oct 2, 2024
1 parent 612ffd0 commit 8de8c34
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/pyinstallers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,24 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
- name: Install dependencies
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: |
pip install -r requirements_dev.txt
pip install -r doc/requirements.txt
pip install pyinstaller
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
Expand Down

0 comments on commit 8de8c34

Please sign in to comment.