Code Monkey home page Code Monkey logo

msys2-autobuild's Introduction

msys2-autobuild

msys2-autobuild is a Python tool for

  • automatically building MSYS2 packages in GitHub Actions
  • manually uploading packages, or retrying builds
  • retrieving the built packages for upload to the pacman repo

Installation

$ pacman -S mingw-w64-x86_64-python-tabulate mingw-w64-x86_64-python-pygithub mingw-w64-x86_64-python-requests
# or
$ poetry install
# or
$ python -m pip install --user -r requirements.txt
# or
$ pipx install git+https://github.com/msys2/msys2-autobuild

Usage

$ msys2-autobuild --help
usage: msys2-autobuild [-h]
                       {build,show,write-build-plan,update-status,fetch-assets,upload-assets,clear-failed,clean-assets}
                       ...

Build packages

options:
  -h, --help            show this help message and exit

subcommands:
  {build,show,write-build-plan,update-status,fetch-assets,upload-assets,clear-failed,clean-assets}
    build               Build all packages
    show                Show all packages to be built
    write-build-plan    Write a GHA build matrix setup
    update-status       Update the status file
    fetch-assets        Download all staging packages
    upload-assets       Upload packages
    clear-failed        Clear the failed state for packages
    clean-assets        Clean up GHA assets

Configuration

  • GITHUB_TOKEN (required) - a GitHub token with write access to the current repo.
  • GITHUB_TOKEN_READONLY (optional) - a GitHub token with read access to the current repo. This is used for read operations to not get limited by the API access limits.
  • GITHUB_REPOSITORY (optional) - the path to the GitHub repo this is uploading to. Used for deciding which things can be built and where to upload them to. Defaults to msys2/msys2-autobuild.

msys2-autobuild's People

Contributors

alexpux avatar eine avatar elieux avatar jeremyd2019 avatar lazka avatar mehdichinoune avatar naveen521kk avatar podsvirov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.