Add Keysight DWTA CLI tools #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |