simplify loongarch32 generation #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Python package and run tests | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Set up Python (latest) | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install dependencies | |
| run: python3 -m pip install build pytest | |
| - name: Build a binary wheel and a source tarball | |
| run: python3 -m build | |
| - name: Install system_calls | |
| run: python3 -m pip install dist/system_calls-*.whl | |
| - name: Run pytest | |
| run: pytest -v system_calls/tests/test*.py |