Skip to content

Commit 4b24538

Browse files
authored
Update c-cpp.yml
1 parent 6fd51bd commit 4b24538

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
run: apt-get update && apt-get upgrade -y
1818
- name: Install GCC-15 an CMake
1919
run: apt-get install -y gcc-15 cmake
20-
- name: Install pip and conan
21-
run: apt install -y python3-pip && pip install conan
2220
- name: Install Conan 2.0
23-
run: apt install python3-pip && pip install --break-system-packages conan
24-
- name: Autodetect a default conan profile
25-
run: conan profile detect --name=default
21+
run: |
22+
apt install -y pipx
23+
pipx ensurepath
24+
pipx install conan
25+
conan profile detect --name=default
2626
- name: Build and run unit tests
2727
run: make CONAN_PROFILE=.github/workflows/gcc15_c++26
2828

0 commit comments

Comments
 (0)