ci-conan: be more explicit about desired compiler in conan profile (#2085)

* ci-conan: be more explicit about desired compiler in conan profile

* conan: upgrade to latest version
main
Luis Díaz Más 3 years ago committed by GitHub
parent f2385a35aa
commit 1b90036cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
sudo apt-get install ninja-build sudo apt-get install ninja-build
pip3 install conan==1.43.0 pip3 install conan==1.45.0
- name: Conan common config - name: Conan common config
run: | run: |

@ -18,7 +18,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
sudo apt-get install ninja-build sudo apt-get install ninja-build
pip3 install conan==1.43.0 pip3 install conan==1.45.0
pip3 install gcovr pip3 install gcovr
- name: Conan common config - name: Conan common config
@ -77,7 +77,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install valgrind ninja-build sudo apt-get install valgrind ninja-build
pip3 install conan==1.43.0 pip3 install conan==1.45.0
- name: Conan common config - name: Conan common config
run: | run: |
@ -113,7 +113,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
sudo apt-get install ninja-build sudo apt-get install ninja-build
pip3 install conan==1.43.0 pip3 install conan==1.45.0
- name: Conan common config - name: Conan common config
run: | run: |
@ -162,7 +162,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install valgrind doxygen graphviz gettext sudo apt-get install valgrind doxygen graphviz gettext
pip3 install conan==1.43.0 pip3 install conan==1.45.0
- name: Conan common config - name: Conan common config
run: | run: |
@ -211,7 +211,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
pip3 install conan==1.43.0 pip3 install conan==1.45.0
sudo add-apt-repository ppa:ubuntu-lxc/daily -y sudo add-apt-repository ppa:ubuntu-lxc/daily -y
wget -q -O - https://files.pvs-studio.com/etc/pubkey.txt |sudo apt-key add - wget -q -O - https://files.pvs-studio.com/etc/pubkey.txt |sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/viva64.list https://files.pvs-studio.com/etc/viva64.list sudo wget -O /etc/apt/sources.list.d/viva64.list https://files.pvs-studio.com/etc/viva64.list

@ -11,7 +11,7 @@ on:
jobs: jobs:
windows: windows:
name: 'Win10 Arch: ${{matrix.platform}} BuildType:${{matrix.build_type}} - SHARED:${{matrix.shared_libraries}}' name: 'Win10 Arch: ${{matrix.platform}} BuildType:${{matrix.build_type}} - SHARED:${{matrix.shared_libraries}}'
runs-on: windows-latest runs-on: windows-2022
strategy: strategy:
fail-fast: false fail-fast: false
@ -46,10 +46,12 @@ jobs:
- name: Install Conan & Common config - name: Install Conan & Common config
run: | run: |
pip.exe install "conan==1.43.0" pip.exe install "conan==1.45.0"
conan config install https://github.com/conan-io/conanclientcert.git conan config install https://github.com/conan-io/conanclientcert.git
conan profile new --detect default conan profile new --detect default
conan profile update settings.build_type=${{matrix.build_type}} default conan profile update settings.build_type=${{matrix.build_type}} default
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
conan config set storage.path=$Env:GITHUB_WORKSPACE/conanCache conan config set storage.path=$Env:GITHUB_WORKSPACE/conanCache
conan config get storage.path conan config get storage.path
tree /f ./conanCache tree /f ./conanCache

@ -9,7 +9,7 @@ name: On PUSH - Basic CI for main platforms
jobs: jobs:
windows: windows:
name: 'Win10 Arch:x64 BuildType:Release - SHARED' name: 'Win10 Arch:x64 BuildType:Release - SHARED'
runs-on: windows-latest runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -31,9 +31,11 @@ jobs:
- name: Install Conan & Common config - name: Install Conan & Common config
run: | run: |
pip.exe install "conan==1.43.0" pip.exe install "conan==1.45.0"
conan profile new --detect default conan profile new --detect default
conan profile show default conan profile show default
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
- name: Run Conan - name: Run Conan
run: | run: |
@ -75,7 +77,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
sudo apt-get install ninja-build sudo apt-get install ninja-build
pip3 install conan==1.43.0 pip3 install conan==1.45.0
- name: Conan - name: Conan
run: | run: |

@ -17,7 +17,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
pip3 install conan==1.43.0 pip3 install conan==1.45.0
- name: Conan common config - name: Conan common config
run: | run: |

Loading…
Cancel
Save