Bump build python version #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Development Build | |
on: | |
push: | |
jobs: | |
build: | |
name: Development Build | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
dist: linux | |
ext: | |
- os: macos-12 | |
dist: macos | |
ext: | |
- os: macos-14 | |
dist: macos-arm | |
ext: | |
- os: windows-2019 | |
dist: windows | |
ext: .exe | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -e .[gui,dev] | |
# Replace pydantic with no-binary version to lightweight target binary a bit | |
# python -m pip uninstall -y pydantic | |
# python -m pip install --no-binary pydantic pydantic>=1.9.0 | |
- name: Build standalone app | |
run: | | |
python setup.py build_standalone | |
- name: Upload distributive | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Parser2GIS-dev-${{matrix.dist}} | |
path: dist/Parser2GIS${{matrix.ext}} | |
retention-days: 30 |