From bc0f2bfbeb8984a79be88f0628c3e66f39ccbff6 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Sun, 17 Oct 2021 08:38:47 +0100 Subject: [PATCH] ci: use suppress_build_script_link_lines config in check jobs --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 359200ca2dc..30921a71aa1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,11 +61,11 @@ jobs: VERSIONS=("3.6" "3.7" "3.8" "3.9" "3.10") for VERSION in ${VERSIONS[@]}; do echo "version=$VERSION" > config.txt - # TODO suppress linking using config file rather than extension-module feature - PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "extension-module" - PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "extension-module abi3" - PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "extension-module macros num-bigint num-complex hashbrown indexmap serde multiple-pymethods eyre anyhow" - PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "extension-module abi3 macros num-bigint num-complex hashbrown indexmap serde multiple-pymethods eyre anyhow" + echo "suppress_build_script_link_lines=true" >> config.txt + PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets + PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "abi3" + PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "macros num-bigint num-complex hashbrown indexmap serde multiple-pymethods eyre anyhow" + PYO3_BUILD_CONFIG=$(pwd)/config.txt cargo check --all-targets --features "abi3 macros num-bigint num-complex hashbrown indexmap serde multiple-pymethods eyre anyhow" done build: