Skip to content

Commit

Permalink
Updating pythondata-cpu-minerva to 0.0.post173
Browse files Browse the repository at this point in the history
Updated data to v0.0-99-g0b5f6b2 based on 0b5f6b2 from https://github.com/lambdaconcept/minerva.
> commit 0b5f6b2
> Author: Jean-François Nguyen <jf@lambdaconcept.com>
> Date:   Fri Jan 22 15:20:35 2021 +0100
>
>     fetch: workaround YosysHQ/yosys#2035.
>

Updated using 0.0.post74 from https://github.com/litex-hub/litex-data-auto
  • Loading branch information
timvideos-robot committed Feb 4, 2021
1 parent 9bdd941 commit 21b746f
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 6 deletions.
60 changes: 60 additions & 0 deletions .github/publish-to-pypi.yml
@@ -0,0 +1,60 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on:
push:
branches:
- master

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI

strategy:
matrix:
python-version: [ '2.x', '3.x', 'pypy-2.7', 'pypy-3.6', 'pypy-3.7' ]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
env:
PYPI_PASSWORD: ${{ SECRETS.PYPI_PASSWORD }}

steps:
- uses: actions/checkout@v2
# Always clone the full depth so git-describe works.
fetch-depth: 0
submodules: true

- name: Set up Python 🐍 ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Get full Python 🐍 version
id: full-python-version
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")

- name: Get repo version
run: echo ::set-output name=repo-version::$(python -c "import setup; print(setup.version_str)")

- name: Install dependencies
run: |
python setup.py install
- name: Run smoke test
run: |
python test.py
- name: Build distribution 📦
run: |
python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
12 changes: 6 additions & 6 deletions pythondata_cpu_minerva/__init__.py
Expand Up @@ -4,11 +4,11 @@
src = "https://github.com/lambdaconcept/minerva"

# Module version
version_str = "0.0.post172"
version_tuple = (0, 0, 172)
version_str = "0.0.post173"
version_tuple = (0, 0, 173)
try:
from packaging.version import Version as V
pversion = V("0.0.post172")
pversion = V("0.0.post173")
except ImportError:
pass

Expand All @@ -32,11 +32,11 @@
"""

# Tool version info
tool_version_str = "0.0.post73"
tool_version_tuple = (0, 0, 73)
tool_version_str = "0.0.post74"
tool_version_tuple = (0, 0, 74)
try:
from packaging.version import Version as V
ptool_version = V("0.0.post73")
ptool_version = V("0.0.post74")
except ImportError:
pass

Expand Down

0 comments on commit 21b746f

Please sign in to comment.