pyinstaller-builds-actions-PIP-TAR.yml -> Updating actions and fixing MacOS/x86_64 builds
This commit is contained in:
@@ -15,14 +15,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: mamba-org/setup-micromamba@v1
|
- uses: mamba-org/setup-micromamba@v1
|
||||||
with:
|
with:
|
||||||
#miniconda-version: "latest"
|
|
||||||
#auto-update-conda: true
|
|
||||||
environment-name: test
|
environment-name: test
|
||||||
environment-file: environment.yml
|
environment-file: environment.yml
|
||||||
create-args: >-
|
create-args: >-
|
||||||
python=3.10
|
python=3.11
|
||||||
- name: pip install cadquery CQ-editor ... etc
|
- name: pip install cadquery CQ-editor ... etc
|
||||||
shell: bash --login {0}
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt install -y libblas-dev libblas3 libblas64-3 libblas64-dev
|
sudo apt install -y libblas-dev libblas3 libblas64-3 libblas64-dev
|
||||||
sudo apt install -y libxkbcommon0
|
sudo apt install -y libxkbcommon0
|
||||||
@@ -44,29 +42,27 @@ jobs:
|
|||||||
pip install git+https://github.com/JustinSDK/cqMore
|
pip install git+https://github.com/JustinSDK/cqMore
|
||||||
pip list
|
pip list
|
||||||
- name: Run build
|
- name: Run build
|
||||||
shell: bash --login {0}
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
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/
|
||||||
- uses: alehechka/upload-tartifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CQ-editor-Linux-x86_64
|
name: CQ-editor-Linux-x86_64
|
||||||
path: dist
|
path: dist
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-13
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: mamba-org/setup-micromamba@v1
|
- uses: mamba-org/setup-micromamba@v1
|
||||||
with:
|
with:
|
||||||
#miniconda-version: "latest"
|
|
||||||
#auto-update-conda: true
|
|
||||||
environment-name: test
|
environment-name: test
|
||||||
environment-file: environment.yml
|
environment-file: environment.yml
|
||||||
create-args: >-
|
create-args: >-
|
||||||
python=3.10
|
python=3.11
|
||||||
- name: pip install cadquery CQ-editor ... etc
|
- name: pip install cadquery CQ-editor ... etc
|
||||||
shell: bash --login {0}
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
micromamba info
|
micromamba info
|
||||||
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
|
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
|
||||||
@@ -84,12 +80,12 @@ jobs:
|
|||||||
pip install git+https://github.com/JustinSDK/cqMore
|
pip install git+https://github.com/JustinSDK/cqMore
|
||||||
pip list
|
pip list
|
||||||
- name: Run build
|
- name: Run build
|
||||||
shell: bash --login {0}
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
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/
|
||||||
- uses: alehechka/upload-tartifact@v1
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CQ-editor-MacOS
|
name: CQ-editor-MacOS
|
||||||
path: dist
|
path: dist
|
||||||
@@ -99,16 +95,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: mamba-org/setup-micromamba@v1
|
- uses: mamba-org/setup-micromamba@v1
|
||||||
with:
|
with:
|
||||||
#miniconda-version: "latest"
|
|
||||||
#auto-update-conda: true
|
|
||||||
environment-name: test
|
environment-name: test
|
||||||
environment-file: environment.yml
|
environment-file: environment.yml
|
||||||
init-shell: >-
|
init-shell: >-
|
||||||
powershell
|
powershell
|
||||||
create-args: >-
|
create-args: >-
|
||||||
python=3.10
|
python=3.11
|
||||||
- name: pip install cadquery CQ-editor ... etc
|
- name: pip install cadquery CQ-editor ... etc
|
||||||
shell: powershell
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
micromamba info
|
micromamba info
|
||||||
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
|
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
|
||||||
@@ -123,12 +117,12 @@ jobs:
|
|||||||
pip install git+https://github.com/JustinSDK/cqMore
|
pip install git+https://github.com/JustinSDK/cqMore
|
||||||
pip list
|
pip list
|
||||||
- name: Run build
|
- name: Run build
|
||||||
shell: powershell
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
micromamba info
|
micromamba info
|
||||||
pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }}
|
pyinstaller pyinstaller_pip.spec ${{ github.event.inputs.type }}
|
||||||
Copy-Item 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\
|
||||||
- uses: alehechka/upload-tartifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CQ-editor-Windows
|
name: CQ-editor-Windows
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
Reference in New Issue
Block a user