File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,28 @@ jobs:
73
73
run : |
74
74
sudo apt update
75
75
sudo apt install libtiff5-dev openmpi-bin libopenmpi-dev libeigen3-dev libyaml-cpp-dev ccache
76
- pip install conan
77
76
78
77
- name : Install Dependencies on MacOS
79
78
if : ${{ contains(matrix.os, 'macos') }}
80
79
run : |
81
80
brew update
82
- brew install libtiff open-mpi libyaml ccache conan
81
+ brew install libtiff open-mpi libyaml ccache
83
82
echo "CMAKE_PREFIX_PATH=/usr/local/opt/libomp" >> $GITHUB_ENV
84
83
84
+ - name : Select Python 3.10
85
+ # otherwise turtlebrowser/get-conan@v1.1 fails on macos-12
86
+ # ref: https://github.com/turtlebrowser/get-conan/issues/4
87
+ uses : actions/setup-python@v4
88
+ with :
89
+ python-version : ' 3.10'
90
+
91
+ - name : Install Conan
92
+ id : conan
93
+ uses : turtlebrowser/get-conan@main
94
+
95
+ - name : Conan version
96
+ run : echo "${{ steps.conan.outputs.version }}"
97
+
85
98
- name : Prepare ccache timestamp
86
99
id : ccache_cache_timestamp
87
100
shell : cmake -P {0}
You can’t perform that action at this time.
0 commit comments