Skip to content

Commit

Permalink
Add builds for mac OS
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnp committed Jul 15, 2023
1 parent 3178401 commit 7698e9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
os: [macos-12]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion pysoem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.1.3'
__version__ = '1.1.4-a1'
from .pysoem import *
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
soem_lib_dirs = []
soem_libs = ['pthread', 'rt']
os_name = 'linux'
elif sys.platform.startswith('darwin'):
soem_macros = []
soem_lib_dirs = []
soem_libs = ['pthread', 'pcap']
os_name = 'macosx'

soem_macros.append(('EC_VER2', ''))

Expand Down

0 comments on commit 7698e9f

Please sign in to comment.