Skip to content

Merge pull request #149 from nelhage/dependabot/github_actions/action… #35

Merge pull request #149 from nelhage/dependabot/github_actions/action…

Merge pull request #149 from nelhage/dependabot/github_actions/action… #35

Workflow file for this run

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