From 67d64f67a708694bdff2ce316eaaad5da933f5aa Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Thu, 30 May 2024 14:40:50 -0500 Subject: [PATCH] pyinstaller-builds-actions-PIP-TAR.yml -> attempt to add macos-arm64 --- .../pyinstaller-builds-actions-PIP-TAR.yml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/.github/workflows/pyinstaller-builds-actions-PIP-TAR.yml b/.github/workflows/pyinstaller-builds-actions-PIP-TAR.yml index d8a02db..2025c0a 100644 --- a/.github/workflows/pyinstaller-builds-actions-PIP-TAR.yml +++ b/.github/workflows/pyinstaller-builds-actions-PIP-TAR.yml @@ -95,6 +95,47 @@ jobs: with: name: CQ-editor-MacOS path: dist + build-macos-arm64: + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + - uses: mamba-org/setup-micromamba@v1 + with: + environment-name: test + environment-file: environment.yml + init-shell: >- + bash + # create-args: >- + # python=3.11 + - name: pip install cadquery CQ-editor ... etc + shell: bash --login {0} + run: | + micromamba info + pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor + pip install --pre git+https://github.com/cadquery/cadquery casadi + pip install pyinstaller>=5.6 git+https://github.com/jdegenstein/pyinstaller-hooks-contrib + pip install path + pip uninstall -y PyQt5 + pip install PyQt5==5.15.10 + pip install PyQtWebEngine==5.15.6 + pip install git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse + pip install git+https://github.com/gumyr/bd_warehouse + pip install git+https://github.com/meadiode/cq_gears.git@main + pip install -e "git+https://github.com/CadQuery/cadquery-plugins.git#egg=cq_cache&subdirectory=plugins/cq_cache" + pip install git+https://github.com/gumyr/build123d + pip install git+https://github.com/JustinSDK/cqMore + pip list + - name: Run build + shell: bash --login {0} + run: | + micromamba activate test + micromamba info + 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/ + - uses: actions/upload-artifact@v4 + with: + name: CQ-editor-MacOS + path: dist build-windows: runs-on: windows-latest steps: