Skip to content

Commit 7ef65d8

Browse files
committed
Use action from marketplace to install conan on all platforms
1 parent 08467f7 commit 7ef65d8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,21 @@ jobs:
7373
run: |
7474
sudo apt update
7575
sudo apt install libtiff5-dev openmpi-bin libopenmpi-dev libeigen3-dev libyaml-cpp-dev ccache
76-
pip install conan
7776
7877
- name: Install Dependencies on MacOS
7978
if: ${{ contains(matrix.os, 'macos') }}
8079
run: |
8180
brew update
8281
brew install libtiff open-mpi libyaml ccache
83-
pip3 install conan
8482
echo "CMAKE_PREFIX_PATH=/usr/local/opt/libomp" >> $GITHUB_ENV
8583
84+
- name: Install Conan
85+
id: conan
86+
uses: turtlebrowser/get-conan@main
87+
88+
- name: Conan version
89+
run: echo "${{ steps.conan.outputs.version }}"
90+
8691
- name: Prepare ccache timestamp
8792
id: ccache_cache_timestamp
8893
shell: cmake -P {0}

0 commit comments

Comments
 (0)