Skip to content

Commit

Permalink
this is a commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Jul 9, 2024
1 parent f562751 commit cd7db6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 70 deletions.
30 changes: 3 additions & 27 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,48 +97,23 @@ jobs:
with:
python-version: '3.11'

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
activate-environment: ""

- name: Create and activate conda environment
shell: bash
run: |
conda create -n cq python=3.11 -y
source $(conda info --base)/etc/profile.d/conda.sh
conda activate cq
conda install mamba -n base -c conda-forge
mamba install -c conda-forge cadquery -y
- name: Install Poetry
shell: bash
run: |
curl -sSL https://install.python-poetry.org | python3 -
uses: snok/install-poetry@v1

- name: Install dependencies
shell: bash
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate cq
poetry install
poetry add pyinstaller
- name: Build executable as directory for Apple Silicon macOS
shell: bash
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate cq
poetry run pyinstaller orion.spec
poetry run pyinstaller --name orion --onedir --add-data "orion_cli/services/*.py:orion_cli/services" orion_cli/cli.py
- name: Rename output directory
shell: bash
run: |
mv dist/orion dist/orion_arm
- name: Zip the output directory
shell: bash
run: |
cd dist && zip -r orion_arm.zip orion_arm
Expand All @@ -150,6 +125,7 @@ jobs:




build-windows:
runs-on: windows-latest

Expand Down
43 changes: 0 additions & 43 deletions orion.spec

This file was deleted.

0 comments on commit cd7db6a

Please sign in to comment.