-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating pythondata-cpu-minerva to 0.0.post175
Updated data to v0.0-99-g0b5f6b2 based on 0b5f6b2 from https://github.com/lambdaconcept/minerva. > commit 0b5f6b2 > Author: Jean-François Nguyen <[email protected]> > Date: Fri Jan 22 15:20:35 2021 +0100 > > fetch: workaround YosysHQ/yosys#2035. > Updated using 0.0.post76 from https://github.com/litex-hub/litex-data-auto
- Loading branch information
1 parent
21b746f
commit 1f0d2bc
Showing
2 changed files
with
67 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
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 | ||
with: | ||
# 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 }} |
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