Commit 7b08229 1 parent d73339b commit 7b08229 Copy full SHA for 7b08229
File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 52
52
- name : Configure conan
53
53
run : |
54
54
pip3 install conan==2.3.0
55
- conan profile detect
55
+
56
+ # conan profile update is deprecated (https://github.com/conan-io/conan/issues/13205)
57
+ # and they don't want you to use detect because it is unstable
58
+
59
+ conan profile detect # Force creation of conan directory structure, will be overwritten
60
+
61
+ echo '{% set compiler, version = detect_api.detect_compiler() %}' > ~/.conan2/profiles/default
62
+ echo '[settings]' >> ~/.conan2/profiles/default
63
+ echo 'os={{ detect_api.detect_os() }}' >> ~/.conan2/profiles/default
64
+ echo 'arch={{ detect_api.detect_arch() }}' >> ~/.conan2/profiles/default
65
+ echo 'build_type=Release' >> ~/.conan2/profiles/default
66
+ echo 'compiler={{ compiler }}' >> ~/.conan2/profiles/default
67
+ echo 'compiler.version={{ detect_api.default_compiler_version(compiler, version) }}' >> ~/.conan2/profiles/default
68
+ echo 'compiler.libcxx=libstdc++11' >> ~/.conan2/profiles/default
69
+
56
70
conan remote add -f dice-group https://conan.dice-research.org/artifactory/api/conan/tentris
57
71
58
72
- name : Cache conan data
You can’t perform that action at this time.
0 commit comments