Skip to content

Commit a4dc071

Browse files
committed
ci: install setup tools
1 parent 6cc8790 commit a4dc071

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/main.yml

+22-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,32 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
os: [windows-latest, ubuntu-latest, macOS-latest]
15+
os: [windows-latest, ubuntu-latest]
1616

1717
steps:
1818
- uses: actions/checkout@v1
1919

20-
- name: install conan
21-
run: pip3 install conan
20+
- uses: actions/setup-python@v1
21+
with:
22+
python-version: '3.x'
23+
24+
- name: Install tools (Linux)
25+
if: startsWith(runner.os, 'Linux')
26+
run: |
27+
sudo apt-get install python3-setuptools python3-wheel python3-pip
28+
shell: bash
29+
30+
- name: Install conan (Linux)
31+
if: startsWith(runner.os, 'Linux')
32+
run: |
33+
sudo pip3 install conan --upgrade
34+
shell: bash
35+
36+
- name: Install conan (Windows)
37+
if: startsWith(runner.os, 'Windows')
38+
run: |
39+
pip3 install conan --upgrade
40+
shell: bash
2241

2342
- name: Create Build Environment
2443
run: cmake -E make_directory ${{runner.workspace}}/build

0 commit comments

Comments
 (0)