Skip to content

Commit

Permalink
Bump version to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Apr 27, 2023
1 parent d54b764 commit 3471a32
Show file tree
Hide file tree
Showing 49 changed files with 1,243 additions and 875 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
# note: 3.5 + 3.6 are EOL as of 2022-09-16. tests do fail on python3.5,
# see https://github.com/HBehrens/puncover/issues/36
# see https://github.com/HBehrens/puncover_riscv/issues/36
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
# it's convenient to stay on an older ubuntu as long as we need
# python3.6:
Expand Down
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include requirements.txt
include requirements-test.txt
include puncover/static/**/*
include puncover/templates/**
include puncover_riscv/static/**/*
include puncover_riscv/templates/**
39 changes: 20 additions & 19 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@

.. image:: https://img.shields.io/badge/GitHub-HBehrens/puncover-8da0cb?style=flat-square&logo=github
.. image:: https://img.shields.io/badge/GitHub-Egahp/puncover_riscv-8da0cb?style=flat-square&logo=github
:alt: GitHub Link
:target: https://github.com/HBehrens/puncover
:target: https://github.com/Egahp/puncover_riscv

.. image:: https://img.shields.io/github/workflow/status/HBehrens/puncover/Python%20package/master?style=flat-square
.. image:: https://img.shields.io/github/workflow/status/Egahp/puncover_riscv/Python%20package/master?style=flat-square
:alt: GitHub Workflow Status (branch)
:target: https://github.com/HBehrens/puncover/actions?query=branch%3Amaster+
:target: https://github.com/Egahp/puncover_riscv/actions?query=branch%3Amaster+

.. image:: https://img.shields.io/codecov/c/github/HBehrens/puncover/master?style=flat-square
.. image:: https://img.shields.io/codecov/c/github/Egahp/puncover_riscv/master?style=flat-square
:alt: Codecov branch
:target: https://codecov.io/gh/HBehrens/puncover
:target: https://codecov.io/gh/Egahp/puncover_riscv

.. image:: https://img.shields.io/pypi/v/puncover?style=flat-square
.. image:: https://img.shields.io/pypi/v/puncover_riscv?style=flat-square
:alt: PyPI
:target: https://pypi.org/project/puncover
:target: https://pypi.org/project/puncover_riscv

.. image:: https://img.shields.io/pypi/pyversions/puncover?style=flat-square
.. image:: https://img.shields.io/pypi/pyversions/puncover_riscv?style=flat-square
:alt: PyPI - Python Version
:target: https://pypi.org/project/puncover
:target: https://pypi.org/project/puncover_riscv

.. image:: https://img.shields.io/github/license/HBehrens/puncover?color=blue&style=flat-square
.. image:: https://img.shields.io/github/license/Egahp/puncover?color=blue&style=flat-square
:alt: License - MIT
:target: https://github.com/HBehrens/puncover
:target: https://github.com/Egahp/puncover_riscv

puncover
========

.. image:: https://raw.githubusercontent.com/HBehrens/puncover/master/images/overview.png
.. image:: https://raw.githubusercontent.com/Egahp/puncover_riscv/master/images/overview.png

Analyzes C/C++ binaries for code size, static variables and stack usages. It
Analyzes RISCV C/C++ binaries for code size, static variables and stack usages. It
creates a report with disassembler and call-stack analysis per directory, file,
or function.
or function.This project based on https://github.com/HBehrens/puncover, but only support arch riscv.
Add -fstask-usage to your gcc build flag. By Heiko Behrens - MIT license, copyright © 2014-2017

Installation and Usage
======================
Expand All @@ -39,13 +40,13 @@ Install with pip:

.. code-block:: bash
pip install puncover
pip install puncover_riscv
Run it by passing the binary to analyze:

.. code-block:: bash
puncover --elf_file project.elf
puncover_riscv --elf_file project.elf
...
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
Expand Down Expand Up @@ -85,7 +86,7 @@ Then you can run the tests with:
Publishing Release
==================

1. Update the version in ``puncover/__version__.py``.
1. Update the version in ``puncover_riscv/__version__.py``.
2. Commit the version update:
.. code-block:: bash
Expand All @@ -103,7 +104,7 @@ Publishing Release
git push && git push --tags

5. Either wait for the GitHub Action to complete and download the release
artifact for uploading: https://github.com/HBehrens/puncover/actions OR Build
artifact for uploading: https://github.com/Egahp/puncover_riscv/actions OR Build
the package locally: ``python setup.py sdist bdist_wheel``
6. Upload the package to PyPI:
.. code-block:: bash
Expand Down
57 changes: 0 additions & 57 deletions examples/Pebble/run.sh

This file was deleted.

42 changes: 0 additions & 42 deletions examples/PlatformIO/run.sh

This file was deleted.

Binary file modified images/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3471a32

Please sign in to comment.