ci: fix windows build

This commit is contained in:
Carlos Gomes Martinho 2020-02-24 13:18:06 +01:00
parent d4b5525eb9
commit 72c26dda67

View file

@ -8,7 +8,6 @@ env:
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
@ -19,7 +18,7 @@ jobs:
- uses: actions/setup-python@v1 - uses: actions/setup-python@v1
with: with:
python-version: '3.x' python-version: "3.x"
- name: Install tools (Linux) - name: Install tools (Linux)
if: startsWith(runner.os, 'Linux') if: startsWith(runner.os, 'Linux')
@ -42,9 +41,13 @@ jobs:
- name: Create Build Environment - name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build run: cmake -E make_directory ${{runner.workspace}}/build
- name: Install conan profile
working-directory: ${{runner.workspace}}/build
run: conan profile new default --detect
- name: Install conan dependencies - name: Install conan dependencies
working-directory: ${{runner.workspace}}/build working-directory: ${{runner.workspace}}/build
run: conan profile new default --detect && conan install $GITHUB_WORKSPACE --build missing run: conan install $GITHUB_WORKSPACE --build missing
- name: Configure CMake - name: Configure CMake
shell: bash shell: bash