Skip to content

Commit

Permalink
disable link-time optimization in CI (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen authored Mar 31, 2023
1 parent 15744dc commit f747f47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Build module
run: |
python3 -m pip install -e .
python3 -m pip install -e . --install-option="--disable_lto"
- name: Build the docs
working-directory: doc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
run: |
source ~/.bashrc
conda activate anaconda-client-env
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_CPP_UNIT_TESTS=ON -DBUILD_PYTHON_UNIT_TESTS=ON
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_CPP_UNIT_TESTS=ON -DBUILD_PYTHON_UNIT_TESTS=ON -DDISABLE_LTO=ON
cmake --build build -j 4
- name: Run C++ tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: |
cmake -E env CPPFLAGS="$CPPFLAGS" \
cmake -E env CC="$CC" \
cmake -E env CXX="$CXX" cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_CPP_UNIT_TESTS=ON -DBUILD_CPP_BENCHMARK=ON -DBUILD_PYTHON_UNIT_TESTS=ON
cmake -E env CXX="$CXX" cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_CPP_UNIT_TESTS=ON -DBUILD_CPP_BENCHMARK=ON -DBUILD_PYTHON_UNIT_TESTS=ON -DDISABLE_LTO=ON
cmake --build build -j 4
- name: Run C++ tests
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Test pip install from dist in fresh venv
run: |
python -m pip install --upgrade setuptools pip wheel build
python -m build .
python -m build . --config-setting=--disable_lto
cd dist
python -m venv venv
source venv/bin/activate
Expand Down

0 comments on commit f747f47

Please sign in to comment.