pyinstaller-builds-actions-PIP-TAR.yml -> activate environment

This commit is contained in:
jdegenstein
2024-05-30 13:49:42 -05:00
committed by GitHub
parent 0254de2be7
commit 38feb5ddc4

View File

@@ -27,6 +27,7 @@ jobs:
sudo apt install -y libxkbcommon-x11-0 sudo apt install -y libxkbcommon-x11-0
sudo apt install -y libxcb-xinerama0 sudo apt install -y libxcb-xinerama0
sudo apt install -y qtbase5-dev qt5-qmake sudo apt install -y qtbase5-dev qt5-qmake
micromamba activate test
micromamba info micromamba info
pip install pyopengl pip install pyopengl
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
@@ -44,6 +45,7 @@ jobs:
- name: Run build - name: Run build
shell: bash shell: bash
run: | run: |
micromamba activate test
micromamba info micromamba info
pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }} pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }}
cp /home/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/pyinstaller/CQ-editor.sh /home/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/ cp /home/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/pyinstaller/CQ-editor.sh /home/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/
@@ -64,6 +66,7 @@ jobs:
- name: pip install cadquery CQ-editor ... etc - name: pip install cadquery CQ-editor ... etc
shell: bash shell: bash
run: | run: |
micromamba activate test
micromamba info micromamba info
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
pip install --pre git+https://github.com/cadquery/cadquery casadi pip install --pre git+https://github.com/cadquery/cadquery casadi
@@ -82,6 +85,7 @@ jobs:
- name: Run build - name: Run build
shell: bash shell: bash
run: | run: |
micromamba activate test
micromamba info micromamba info
pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }} pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }}
cp /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/pyinstaller/CQ-editor.sh /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/ cp /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/pyinstaller/CQ-editor.sh /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/
@@ -98,12 +102,13 @@ jobs:
environment-name: test environment-name: test
environment-file: environment.yml environment-file: environment.yml
init-shell: >- init-shell: >-
powershell bash
create-args: >- create-args: >-
python=3.11 python=3.11
- name: pip install cadquery CQ-editor ... etc - name: pip install cadquery CQ-editor ... etc
shell: bash shell: bash
run: | run: |
micromamba activate test
micromamba info micromamba info
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
pip install --pre git+https://github.com/cadquery/cadquery casadi pip install --pre git+https://github.com/cadquery/cadquery casadi
@@ -119,6 +124,7 @@ jobs:
- name: Run build - name: Run build
shell: bash shell: bash
run: | run: |
micromamba activate test
micromamba info micromamba info
pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }} pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }}
cp D:\a\jmwright-CQ-Editor\jmwright-CQ-Editor\pyinstaller\CQ-editor.cmd D:\a\jmwright-CQ-Editor\jmwright-CQ-Editor\dist\ cp D:\a\jmwright-CQ-Editor\jmwright-CQ-Editor\pyinstaller\CQ-editor.cmd D:\a\jmwright-CQ-Editor\jmwright-CQ-Editor\dist\