rename env file #8
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
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.10 | |
environment-file: environment.yml | |
activate-environment: beamshapy-gui | |
- name: Activate Conda Environment and Install Nuitka | |
run: | | |
eval "$(conda shell.bash hook)" | |
conda activate beamshapy-gui | |
python -m pip install --upgrade pip | |
pip install nuitka | |
- name: Compile with Nuitka | |
run: | | |
conda activate beamshapy-gui | |
python -m nuitka main.py --show-progress --onefile --debug --enable-plugin=pyqt5 --include-data-file=./logo_beam_shaper.png=./icon/logo_beam_shaper.png | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Compiled-App | |
path: path/to/compiled-binary |