From fd9e7e6dbfabef39e6117dc569406a991cc8c5be Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Fri, 27 Oct 2023 10:59:03 -0400 Subject: [PATCH] Added MacOS and Windows PyInstallers builds back into CI --- .github/workflows/pyinstaller.yml | 48 +++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index ae7524f..dd81329 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -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 @@ -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