Skip to content

Commit

Permalink
Merge pull request #15 from xunmod/master
Browse files Browse the repository at this point in the history
Also detect `linux/ipv6.h` by `_IPV6_H`, add push & pull request CI
  • Loading branch information
doronz88 authored Sep 4, 2024
2 parents 406852d + 322103d commit f697506
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/pypi-build-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build wheels for Linux/macOS, build sdist, and publish to PyPI

on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
release:
types: published

Expand Down Expand Up @@ -51,6 +55,7 @@ jobs:

pypi-publish:
name: Publish release to PyPI
if: ${{ github.event_name == 'release' }}
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment:
Expand Down
2 changes: 1 addition & 1 deletion linux_pytun.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#endif


#ifndef _UAPI_IPV6_H
#if !defined(_UAPI_IPV6_H) && !defined(_IPV6_H)
struct in6_ifreq {
struct in6_addr ifr6_addr;
__u32 ifr6_prefixlen;
Expand Down

0 comments on commit f697506

Please sign in to comment.