Skip to content

Commit

Permalink
Added MacOS and Windows PyInstallers builds back into CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed Oct 27, 2023
1 parent 5d1b913 commit fd9e7e6
Showing 1 changed file with 42 additions and 6 deletions.
48 changes: 42 additions & 6 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
# - uses: conda-incubator/setup-miniconda@v2
# with:
# miniconda-version: "latest"
# auto-update-conda: true
# python-version: 3.8
# activate-environment: test
- name: Install dependencies
run: |
pip install --upgrade pip
Expand All @@ -34,3 +28,45 @@ jobs:
with:
name: cq-cli-Linux-x86_64
path: dist
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install --upgrade pip
pip --version
pip install -e .
pip install pyinstaller
pip install path
- name: Run PyInstaller build
run: |
pyinstaller cq-cli_pyinstaller.spec ${{ github.event.inputs.type }}
- uses: actions/upload-artifact@v2
with:
name: cq-cli-MacOS
path: dist
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install --upgrade pip
pip --version
pip install -e .
pip install pyinstaller
pip install path
- name: Run build
run: |
pyinstaller pyinstaller.spec ${{ github.event.inputs.type }}
- uses: actions/upload-artifact@v2
with:
name: cq-cli-Windows
path: dist

0 comments on commit fd9e7e6

Please sign in to comment.