Skip to content

Commit

Permalink
Add back -DCMAKE_CXX_FLAGS="-D_=1" but do not install boost in that…
Browse files Browse the repository at this point in the history
… case.
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Jun 20, 2024
1 parent a32f44d commit 51851f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ jobs:
# existing keys match.
#
# We support an optional key: args, for cmake args
# TODO: Find a platform to test -DCMAKE_CXX_FLAGS="-D_=1"
include:
# Just add a key
- runs-on: ubuntu-20.04
python: '3.8'
args: >
-DPYBIND11_FINDPYTHON=ON
-DCMAKE_CXX_FLAGS="-D_=1"
exercise_D_: 1
- runs-on: ubuntu-20.04
python: 'pypy-3.8'
args: >
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:

- name: Setup Boost (Linux)
# Can't use boost + define _
if: runner.os == 'Linux'
if: runner.os == 'Linux' && matrix.exercise_D_ != 1
run: sudo apt-get install libboost-dev

- name: Setup Boost (macOS)
Expand Down

0 comments on commit 51851f4

Please sign in to comment.