Skip to content

Commit 51851f4

Browse files
committed
Add back -DCMAKE_CXX_FLAGS="-D_=1" but do not install boost in that case.
1 parent a32f44d commit 51851f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ jobs:
4545
# existing keys match.
4646
#
4747
# We support an optional key: args, for cmake args
48-
# TODO: Find a platform to test -DCMAKE_CXX_FLAGS="-D_=1"
4948
include:
5049
# Just add a key
5150
- runs-on: ubuntu-20.04
5251
python: '3.8'
5352
args: >
5453
-DPYBIND11_FINDPYTHON=ON
54+
-DCMAKE_CXX_FLAGS="-D_=1"
55+
exercise_D_: 1
5556
- runs-on: ubuntu-20.04
5657
python: 'pypy-3.8'
5758
args: >
@@ -82,7 +83,7 @@ jobs:
8283

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

8889
- name: Setup Boost (macOS)

0 commit comments

Comments
 (0)