Skip to content

Commit 4094b5d

Browse files
committed
CI: test on macos-latest
1 parent 09db14f commit 4094b5d

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build:
1111
name: Build
12-
runs-on: ubuntu-22.04
12+
runs-on: macos-latest
1313
strategy:
1414
matrix:
1515
python-version: [
@@ -34,8 +34,7 @@ jobs:
3434
export \
3535
DD_FETCH=1 \
3636
DD_CUDD=1 \
37-
DD_CUDD_ZDD=1 \
38-
DD_SYLVAN=1
37+
DD_CUDD_ZDD=1
3938
pip install . \
4039
--verbose \
4140
--use-pep517 \
@@ -49,7 +48,11 @@ jobs:
4948
echo 'Exported environment variables:'
5049
export -p
5150
# run tests
52-
make test
51+
pushd tests
52+
python -X dev -m pytest -v \
53+
--continue-on-collection-errors \
54+
--ignore=sylvan_test.py
55+
popd
5356
- name: Run `dd` examples
5457
run: |
5558
pushd examples/

.github/workflows/setup_build_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
set -x
88
set -e
9-
sudo apt install \
10-
graphviz
9+
brew install graphviz
1110
dot -V
1211
pip install --upgrade \
1312
pip \
@@ -17,6 +16,7 @@ pip install --upgrade \
1716
# would also install packages that
1817
# may be absent from where `dd` will be installed
1918
pip install cython
19+
exit
2020
#
2121
# install `sylvan`
2222
# download

download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
'-std=c99',
5252
'-DBSD',
5353
'-DHAVE_IEEE_754',
54-
'-mtune=native', '-pthread', '-fwrapv',
54+
'-pthread', '-fwrapv',
5555
'-fno-strict-aliasing',
5656
'-Wall', '-W', '-O3']
5757
sizeof_long = ctypes.sizeof(ctypes.c_long)

0 commit comments

Comments
 (0)