mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-03-22 21:21:29 +00:00
Initial commit
This commit is contained in:
36
.github/workflows/pip.yml
vendored
Normal file
36
.github/workflows/pip.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: Pip
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [windows-latest, macos-13, ubuntu-latest]
|
||||
python-version: ["3.7", "3.11"]
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Add requirements
|
||||
run: python -m pip install --upgrade wheel setuptools
|
||||
|
||||
- name: Build and install
|
||||
run: pip install --verbose .[test]
|
||||
|
||||
- name: Test
|
||||
run: python -m pytest
|
||||
Reference in New Issue
Block a user