Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
NB_CPU: 1
VERSION: '0.1.8'

jobs:
bochscpu:
Expand Down Expand Up @@ -155,7 +156,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: bochscpu-py${{ matrix.python-version }}-${{ matrix.variant.os }}.${{ matrix.variant.config }}-${{ matrix.variant.arch }}
name: bochscpu-${{ env.VERSION }}-py${{ matrix.python-version }}-${{ matrix.variant.os }}.${{ matrix.variant.config }}-${{ matrix.variant.arch }}
path: |
artifact/
wheel/
Expand All @@ -172,7 +173,7 @@ jobs:
- {os: macos-latest, arch: x64, config: Release, py-arch: x64}
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
name: Upload release ${{ matrix.python-version }} to PyPI
name: PyPI upload of ${{ matrix.variant.os }}/${{ matrix.python-version }}/py${{ matrix.python-version }}
environment:
name: pypi
url: https://pypi.org/p/bochscpu-python
Expand All @@ -183,7 +184,7 @@ jobs:
uses: actions/download-artifact@v3
id: download_wheels
with:
name: bochscpu-py${{ matrix.python-version }}-${{ matrix.variant.os }}.${{ matrix.variant.config }}-${{ matrix.variant.arch }}
name: bochscpu-${{ env.VERSION }}-py${{ matrix.python-version }}-${{ matrix.variant.os }}.${{ matrix.variant.config }}-${{ matrix.variant.arch }}
path: wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(CMAKE_INTERPROCEDURAL_OPTIMIZATION True)
project(
bochscpu-python
LANGUAGES CXX
VERSION 0.1.7
VERSION 0.1.8
DESCRIPTION "Python bindings for BochsCPU"
HOMEPAGE_URL https://github.com/hugsy/bochscpu-python
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "bochscpu-python"
version = "0.1.7"
version = "0.1.8"
description = "Python bindings for BochsCPU."
readme = "./README.md"
license.file = "./LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion python/src/bochscpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ PyType_Slot slots[] = {
NB_MODULE(_bochscpu, m)
{
m.doc() = "The native `bochscpu` module";
m.attr("__version__") = "0.1.7";
m.attr("__version__") = "0.1.8";

//
// Submodules
Expand Down