Skip to content

Commit

Permalink
Don't build conan deps, --build=never. Fix scripts/conan
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 21, 2024
1 parent c1482dd commit b9f8e02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >
Expand Down
6 changes: 3 additions & 3 deletions scripts/conan
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit b9f8e02

Please sign in to comment.