Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions which publish to PyPI #48

Merged
merged 20 commits into from
Feb 16, 2021

Commits on Feb 8, 2021

  1. Add Makefile for building and uploading to PyPI.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    7df5ec0 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Adding make-env to create build environment.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    e718e2f View commit details
    Browse the repository at this point in the history
  2. Cleanup MANIFEST.in file.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    38e1536 View commit details
    Browse the repository at this point in the history
  3. Fix LICENSE file config.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    acd982d View commit details
    Browse the repository at this point in the history
  4. Fix the import order.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    b6c2599 View commit details
    Browse the repository at this point in the history
  5. Remove the build directory if it already exists.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    bac370b View commit details
    Browse the repository at this point in the history
  6. Use all available CPUs, not just 2.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    383f86d View commit details
    Browse the repository at this point in the history
  7. Don't give cmake build command -j on Windows.

    Fixes chipsalliance#47.
    
    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    6ab0355 View commit details
    Browse the repository at this point in the history
  8. Temporarily shut up excess warnings.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    40d1ca4 View commit details
    Browse the repository at this point in the history
  9. Working on publishing to PyPI.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    0ab20eb View commit details
    Browse the repository at this point in the history
  10. Ignore existing packages on test.pypi.org

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    b11959e View commit details
    Browse the repository at this point in the history
  11. Ignore errors when using shutil.rmtree.

    Otherwise on Windows you get errors like;
    ```
    PermissionError: [WinError 5] Access is denied:
    'build\\temp.win-amd64-3.6\\Release\\antlr4_runtime\\src\\antlr4_runtime\\.git\\objects\\pack\\pack-65bd2f6de8e3018d18b83281edd60df81726e772.idx'
    ```
    
    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    0922a47 View commit details
    Browse the repository at this point in the history
  12. List contents of the wheel.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    ea2fbb8 View commit details
    Browse the repository at this point in the history
  13. Only add flags on certain platforms.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    04c4f63 View commit details
    Browse the repository at this point in the history
  14. Remove unsupported Python 3.5

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    d920758 View commit details
    Browse the repository at this point in the history
  15. Disable -Wno-attributes command.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    5a2bebe View commit details
    Browse the repository at this point in the history
  16. Try to add /std:c++latest on Windows.

    Otherwise;
    ```
    D:\a\fasm\fasm\src\ParseFasm.cpp(296,29): error C7555: use of designated initializers requires at least '/std:c++latest' [D:\a\fasm\fasm\build\temp.win-amd64-3.6\Release\parse_fasm_tests.vcxproj]
    ```
    
    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    c873600 View commit details
    Browse the repository at this point in the history
  17. Disable '-Wimplicit-fallthrough=0'.

    Otherwise it fails on MacOS X with;
    ```
    error: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option]
    ```
    
    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    8e5a1ba View commit details
    Browse the repository at this point in the history
  18. Fix lint errors.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    78023b0 View commit details
    Browse the repository at this point in the history
  19. Adding reference to github issue for cmake improvements.

    Signed-off-by: Tim 'mithro' Ansell <[email protected]>
    mithro committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    6504ed8 View commit details
    Browse the repository at this point in the history