-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from sdgtt/tfcollins/dwta
Add Keysight DWTA CLI tools
- Loading branch information
Showing
25 changed files
with
2,673 additions
and
15 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# pybench | ||
Interfaces to control instruments in python | ||
|
||
## Web backend development | ||
|
||
```bash | ||
fastapi dev bench/web/app.py | ||
``` |
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
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
Oops, something went wrong.