99 strategy :
1010 fail-fast : false
1111 matrix :
12- os : [ubuntu-20.04 , macos-latest, windows-latest]
12+ os : [ubuntu-latest , macos-latest, windows-latest]
1313
1414 runs-on : ${{ matrix.os }}
1515
@@ -20,38 +20,38 @@ jobs:
2020
2121 steps :
2222 - name : Perform checkout
23- uses : actions/checkout@v2
23+ uses : actions/checkout@v3
2424
2525 - name : Install Python environment
26- uses : actions/setup-python@v2
26+ uses : actions/setup-python@v4
27+ with :
28+ python-version : ' 3.10'
2729
2830 - name : Install conan
2931 run : |
3032 pip install conan --upgrade
31- conan profile new default --detect
33+ conan profile detect --force
3234
3335 - name : Linux build
3436 if : matrix.os == 'ubuntu-20.04'
3537 run : |
36- conan profile update settings.compiler.libcxx=libstdc++11 default
3738 mkdir -p build && cd build
38- conan install .. --build=missing
39+ conan install .. --output-folder=. -- build=missing
3940 cmake .. -DBUILD_TESTING=TRUE -DBUILD_SHARED_LIBS=FALSE -DCMAKE_BUILD_TYPE=Release
4041 cmake --build . --config Release --target install
4142
4243 - name : Mac build
4344 if : matrix.os == 'macos-latest'
4445 run : |
45- conan profile update settings.compiler.libcxx=libc++ default
4646 mkdir -p build && cd build
47- conan install .. --build=missing
47+ conan install .. --output-folder=. -- build=missing
4848 cmake .. -DBUILD_TESTING=TRUE -DBUILD_SHARED_LIBS=FALSE -DCMAKE_BUILD_TYPE=Release
4949 cmake --build . --config Release --target install
5050
5151 - name : Windows build
5252 if : matrix.os == 'windows-latest'
5353 run : |
5454 md build && cd build
55- conan install .. --build=missing
55+ conan install .. --output-folder=. -- build=missing
5656 cmake .. -DBUILD_TESTING=TRUE -DBUILD_SHARED_LIBS=FALSE -DCMAKE_BUILD_TYPE=Release
5757 cmake --build . --config Release --target install
0 commit comments