mirror of
https://github.com/jdegenstein/jmwright-CQ-Editor.git
synced 2025-12-20 06:27:05 +01:00
Reenable Linux/MacOS with mmamba
This commit is contained in:
@@ -9,81 +9,82 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
default: 'dir'
|
default: 'dir'
|
||||||
jobs:
|
jobs:
|
||||||
# build-linux:
|
build-linux:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: conda-incubator/setup-miniconda@v2
|
- uses: mamba-org/provision-with-micromamba@main
|
||||||
# with:
|
with:
|
||||||
# mamba-version: "*"
|
#miniconda-version: "latest"
|
||||||
# channels: conda-forge,defaults
|
#auto-update-conda: true
|
||||||
# channel-priority: true
|
environment-name: test
|
||||||
# # auto-update-conda: true
|
environment-file: environment.yml
|
||||||
# python-version: 3.9
|
extra-specs:
|
||||||
# activate-environment: test
|
python=3.9
|
||||||
# - name: Install CadQuery, CQ-editor and pyinstaller
|
- name: Mamba install CadQuery and pyinstaller
|
||||||
# shell: bash --login {0}
|
shell: bash --login {0}
|
||||||
# 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
|
||||||
# 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
|
||||||
# conda info
|
micromamba info
|
||||||
# conda install -c cadquery -c conda-forge cq-editor=master cadquery=master spyder=5.3.3 ipython=8.4.0 python=3.9
|
micromamba install -c cadquery -c conda-forge cq-editor=master cadquery=master debugpy ipython=8.4.0 jedi=0.17.2 python=3.9
|
||||||
# conda install -c conda-forge pyinstaller=4.10
|
micromamba install -c conda-forge pyinstaller=4.10
|
||||||
# conda uninstall --force -y importlib_resources
|
micromamba uninstall --force -y importlib_resources
|
||||||
# pip install path
|
pip install path
|
||||||
# pip install git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
|
pip install git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
|
||||||
# pip install git+https://github.com/meadiode/cq_gears.git@main
|
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 -e "git+https://github.com/CadQuery/cadquery-plugins.git#egg=cq_cache&subdirectory=plugins/cq_cache"
|
||||||
# pip install git+https://github.com/gumyr/build123d.git#egg=build123d
|
pip install git+https://github.com/gumyr/build123d.git#egg=build123d
|
||||||
# - name: Run build
|
- name: Run build
|
||||||
# shell: bash --login {0}
|
shell: bash --login {0}
|
||||||
# run: |
|
run: |
|
||||||
# conda info
|
micromamba info
|
||||||
# pyinstaller pyinstaller.spec ${{ github.event.inputs.type }}
|
pyinstaller pyinstaller.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/
|
||||||
# rm /home/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/CQ-editor/libstdc++.so.6
|
rm /home/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/CQ-editor/libstdc++.so.6
|
||||||
# - uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
# 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-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: conda-incubator/setup-miniconda@v2
|
- uses: mamba-org/provision-with-micromamba@main
|
||||||
# with:
|
with:
|
||||||
# mamba-version: "*"
|
#miniconda-version: "latest"
|
||||||
# channels: conda-forge,defaults
|
#auto-update-conda: true
|
||||||
# # auto-update-conda: true
|
environment-name: test
|
||||||
# python-version: 3.9
|
environment-file: environment.yml
|
||||||
# activate-environment: test
|
extra-specs:
|
||||||
# - name: Install CadQuery, CQ-editor and pyinstaller=4.10
|
python=3.9
|
||||||
# shell: bash --login {0}
|
- name: Mamba install CadQuery and pyinstaller
|
||||||
# run: |
|
shell: bash --login {0}
|
||||||
# conda info
|
run: |
|
||||||
# conda install -c cadquery -c conda-forge cq-editor=master cadquery=master spyder=5.3.3 ipython=8.4.0 python=3.9
|
micromamba info
|
||||||
# conda install -c conda-forge pyinstaller
|
micromamba install -c cadquery -c conda-forge cq-editor=master cadquery=master debugpy ipython=8.4.0 jedi=0.17.2 python=3.9
|
||||||
# conda uninstall --force -y importlib_resources
|
micromamba install -c conda-forge pyinstaller
|
||||||
# pip install path
|
micromamba uninstall --force -y importlib_resources
|
||||||
# pip uninstall -y PyQt5
|
pip install path
|
||||||
# pip install PyQt5==5.15.7
|
pip uninstall -y PyQt5
|
||||||
# pip install PyQtWebEngine==5.15.6
|
pip install PyQt5==5.15.7
|
||||||
# pip install git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
|
pip install PyQtWebEngine==5.15.6
|
||||||
# pip install git+https://github.com/meadiode/cq_gears.git@main
|
pip install git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
|
||||||
# pip install -e "git+https://github.com/CadQuery/cadquery-plugins.git#egg=cq_cache&subdirectory=plugins/cq_cache"
|
pip install git+https://github.com/meadiode/cq_gears.git@main
|
||||||
# pip install git+https://github.com/gumyr/build123d.git#egg=build123d
|
pip install -e "git+https://github.com/CadQuery/cadquery-plugins.git#egg=cq_cache&subdirectory=plugins/cq_cache"
|
||||||
# - name: Run build
|
pip install git+https://github.com/gumyr/build123d.git#egg=build123d
|
||||||
# shell: bash --login {0}
|
- name: Run build
|
||||||
# run: |
|
shell: bash --login {0}
|
||||||
# conda info
|
run: |
|
||||||
# pyinstaller pyinstaller.spec ${{ github.event.inputs.type }}
|
micromamba info
|
||||||
# cp /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/pyinstaller/CQ-editor.sh /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/
|
pyinstaller pyinstaller.spec ${{ github.event.inputs.type }}
|
||||||
# - uses: actions/upload-artifact@v2
|
cp /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/pyinstaller/CQ-editor.sh /Users/runner/work/jmwright-CQ-Editor/jmwright-CQ-Editor/dist/
|
||||||
# with:
|
- uses: actions/upload-artifact@v2
|
||||||
# name: CQ-editor-MacOS
|
with:
|
||||||
# path: dist
|
name: CQ-editor-MacOS
|
||||||
|
path: dist
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user