Skip to content

Commit

Permalink
CI: test on macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyf committed Nov 30, 2024
1 parent 09db14f commit 4094b5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
runs-on: macos-latest
strategy:
matrix:
python-version: [
Expand All @@ -34,8 +34,7 @@ jobs:
export \
DD_FETCH=1 \
DD_CUDD=1 \
DD_CUDD_ZDD=1 \
DD_SYLVAN=1
DD_CUDD_ZDD=1
pip install . \
--verbose \
--use-pep517 \
Expand All @@ -49,7 +48,11 @@ jobs:
echo 'Exported environment variables:'
export -p
# run tests
make test
pushd tests
python -X dev -m pytest -v \
--continue-on-collection-errors \
--ignore=sylvan_test.py
popd
- name: Run `dd` examples
run: |
pushd examples/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/setup_build_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

set -x
set -e
sudo apt install \
graphviz
brew install graphviz
dot -V
pip install --upgrade \
pip \
Expand All @@ -17,6 +16,7 @@ pip install --upgrade \
# would also install packages that
# may be absent from where `dd` will be installed
pip install cython
exit
#
# install `sylvan`
# download
Expand Down
2 changes: 1 addition & 1 deletion download.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
'-std=c99',
'-DBSD',
'-DHAVE_IEEE_754',
'-mtune=native', '-pthread', '-fwrapv',
'-pthread', '-fwrapv',
'-fno-strict-aliasing',
'-Wall', '-W', '-O3']
sizeof_long = ctypes.sizeof(ctypes.c_long)
Expand Down

0 comments on commit 4094b5d

Please sign in to comment.