123456789101112131415161718192021222324252627282930313233343536373839404142 |
- name: build
- on:
- push:
- paths:
- - '.github/workflows/build.yaml'
- - 'pyproject.toml'
- - 'setup.cfg'
- - 'test/ref/**'
- - 'cmds/**'
- - '**.py'
- - '**.c'
- jobs:
- test:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: ["3.9","3.10","3.11"]
- steps:
- - uses: actions/checkout@v4
- - name: Install Ubuntu package dependencies
- run: |
- sudo apt-get install libsecp256k1-dev
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4
- with:
- python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: |
- .github/build-requirements.txt
- setup.cfg
- - name: Build and install MMGen Wallet
- run: |
- python3 -m pip install build wheel
- python3 -m build --no-isolation
- python3 -m pip install --user --break-system-packages dist/*.whl
|