From b9f8e028f80a24c39765e98e84cfb2b682586ec7 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Thu, 22 Aug 2024 02:45:26 +0300 Subject: [PATCH] Don't build conan deps, --build=never. Fix scripts/conan --- .github/workflows/build_test.yml | 4 ++-- .github/workflows/tidy.yml | 2 +- scripts/conan | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index ff10c55b..671cfbbb 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -50,7 +50,7 @@ jobs: - name: conan config run: conan config install .github/config/${{ matrix.os }}-${{ matrix.compiler }}/conan - name: conan install - run: conan install . --output-folder=build --build=missing + run: conan install . --output-folder=build --build=never - name: cache uses: actions/cache@v4 @@ -283,7 +283,7 @@ jobs: run: conan export . --name odrcore --version 0.0.0 - name: conan install - run: conan install . --output-folder=build --build=missing + run: conan install . --output-folder=build --build=never # odrcore/0.0.0 will be missing, can't build=never - name: conan downstream diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml index 61b1f38e..805d5092 100644 --- a/.github/workflows/tidy.yml +++ b/.github/workflows/tidy.yml @@ -32,7 +32,7 @@ jobs: - name: conan config run: conan config install .github/config/${{ matrix.os }}-${{ matrix.compiler }}/conan - name: conan install - run: conan install . --output-folder=build --build=missing + run: conan install . --output-folder=build --build=never - name: cmake run: > diff --git a/scripts/conan b/scripts/conan index 6107326f..c40f4d8a 100755 --- a/scripts/conan +++ b/scripts/conan @@ -1,5 +1,5 @@ #!/usr/bin/env bash -conan install . --output-folder=cmake-build-relwithdebinfo --build=missing -s build_type=RelWithDebInfo -s "&:build_type=RelWithDebInfo" -conan install . --output-folder=cmake-build-debug --build=missing -s build_type=RelWithDebInfo -s "&:build_type=Debug" -conan install . --output-folder=cmake-build-release --build=missing -s build_type=RelWithDebInfo -s "&:build_type=Release" +conan install . --output-folder=cmake-build-relwithdebinfo --build=missing -s build_type=Release -s "&:build_type=RelWithDebInfo" +conan install . --output-folder=cmake-build-debug --build=missing -s build_type=Release -s "&:build_type=Debug" +conan install . --output-folder=cmake-build-release --build=never -s build_type=Release -s "&:build_type=Release"