From a4dc07112c46fa33a2b49ca47dd71643034ffb79 Mon Sep 17 00:00:00 2001 From: Carlos Gomes Martinho Date: Mon, 24 Feb 2020 12:49:36 +0100 Subject: [PATCH] ci: install setup tools --- .github/workflows/main.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 153b6db..c1dbc47 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,13 +12,32 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-latest, macOS-latest] + os: [windows-latest, ubuntu-latest] steps: - uses: actions/checkout@v1 - - name: install conan - run: pip3 install conan + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + + - name: Install tools (Linux) + if: startsWith(runner.os, 'Linux') + run: | + sudo apt-get install python3-setuptools python3-wheel python3-pip + shell: bash + + - name: Install conan (Linux) + if: startsWith(runner.os, 'Linux') + run: | + sudo pip3 install conan --upgrade + shell: bash + + - name: Install conan (Windows) + if: startsWith(runner.os, 'Windows') + run: | + pip3 install conan --upgrade + shell: bash - name: Create Build Environment run: cmake -E make_directory ${{runner.workspace}}/build