Use GitHub Actions for CI #10
Workflow file for this run
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: Build FMPy | |
on: | |
push: | |
branches: [ main ] | |
tags: [ 'v*' ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- name: x86_64-windows | |
image: windows-2022 | |
arch: x86_64 | |
runs-on: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- run: python --version | |
- run: python -m pip install setuptools wheel attrs numpy pyqt5 requests | |
# - run: python -m pip install attrs dask jinja2 lark lxml matplotlib notebook numpy plotly pyqt5 pyqtgraph requests scipy wheel | |
# - run: python -m pip install attrs Jinja2 lark lxml msgpack numpy pywin32 dask[bag] requests matplotlib scipy PyQt5 pyqtgraph PyQtWebEngine kaleido notebook plotly dash-bootstrap-components setuptools wheel | |
- run: python build_cvode.py | |
- run: python build_binaries.py | |
- run: python build_remoting.py | |
- run: python setup.py bdist_wheel | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Distribution | |
path: dist | |
if-no-files-found: error |