Skip to content

Commit

Permalink
Updating pythondata-cpu-minerva to 0.0.post194
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.post95 from https://github.com/litex-hub/litex-data-auto
  • Loading branch information
timvideos-robot committed Mar 5, 2021
1 parent b11a1b3 commit 2d584d9
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 18 deletions.
69 changes: 57 additions & 12 deletions .github/workflows/publish-to-pypi.yml
Expand Up @@ -6,16 +6,67 @@ on:
- master

jobs:
build-n-publish:
sdist:
name: sdist
runs-on: ubuntu-latest

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

- name: Set up Python 🐍 3
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install build dependencies
run: |
pip install -U pip
pip install -U setuptools wheel twine
- name: Install package dependencies
run: |
python setup.py install
- name: Run smoke test
run: |
python test.py
- name: Build distribution 📦
run: |
python setup.py sdist
rm dist/*.egg
- name: Check distribution 📦
run: |
du -h dist/*
twine check dist/*
- name: Publish to Test PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
twine upload --skip-existing --repository testpypi dist/*
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload --skip-existing dist/*
wheels:
strategy:
matrix:
python-version: [ '2.x', '3.6', '3.7', '3.8', '3.9', 'pypy-2.7', 'pypy-3.6', 'pypy-3.7' ]
os: [ubuntu-latest]
python-version: [ '2.x', '3.x' ]
fail-fast: false

name: ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -29,13 +80,6 @@ jobs:
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 build dependencies
run: |
pip install -U pip
Expand All @@ -51,7 +95,7 @@ jobs:
- name: Build distribution 📦
run: |
python setup.py sdist bdist_wheel
python setup.py bdist_wheel
rm dist/*.egg
- name: Check distribution 📦
Expand All @@ -72,3 +116,4 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload --skip-existing dist/*
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.post193"
version_tuple = (0, 0, 193)
version_str = "0.0.post194"
version_tuple = (0, 0, 194)
try:
from packaging.version import Version as V
pversion = V("0.0.post193")
pversion = V("0.0.post194")
except ImportError:
pass

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

# Tool version info
tool_version_str = "0.0.post94"
tool_version_tuple = (0, 0, 94)
tool_version_str = "0.0.post95"
tool_version_tuple = (0, 0, 95)
try:
from packaging.version import Version as V
ptool_version = V("0.0.post94")
ptool_version = V("0.0.post95")
except ImportError:
pass

Expand Down

0 comments on commit 2d584d9

Please sign in to comment.