Merge pull request #149 from nelhage/dependabot/github_actions/action… #35
This file contains 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: CI | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- master | |
tags: | |
- 'reptyr-*.*' | |
- 'reptyr-*.*.*' | |
permissions: read-all | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
container: debian:buster | |
name: "Debian Buster" | |
strategy: | |
matrix: | |
python: | |
- python2 | |
- python3 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- run: apt-get update && apt-get -y install gcc-multilib libcap-dev gcc ${{matrix.python}} virtualenv ${{matrix.python}}-dev make | |
- run: virtualenv --python=${{matrix.python}} venv | |
- run: venv/bin/pip install -r test/requirements.txt | |
- run: . venv/bin/activate && make PYTHON_CMD=${{matrix.python}} test | |
- run: make clean | |
- run: . venv/bin/activate && env PYTHON_CMD=${{matrix.python}} CFLAGS=-m32 LDFLAGS=-m32 NO_TEST_STEAL=1 make test |