Skip to content

Commit

Permalink
Updated conan workflow to use 2.4.1 for Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wsobel committed Jul 3, 2024
1 parent 1bdc5d6 commit aee8c6b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:

- name: Install Conan
uses: turtlebrowser/get-conan@v1.2
with:
version: 2.4.1

- name: Initialize VS Dev Env
uses: seanmiddleditch/gha-setup-vsdevenv@master
Expand All @@ -96,7 +98,7 @@ jobs:
- name: Build and Test C++ Agent
run: |
set CTEST_OUTPUT_ON_FAILURE=TRUE
conan create . --build=missing -pr conan/profiles/${{ matrix.profile }} -o with_docs=False -o cpack=True -o cpack_destination=${{ env.ZIP_DIR }} -o shared=${{ matrix.shared }}
conan create . --build=missing -pr conan/profiles/${{ matrix.profile }} -o with_docs=False -o "&:cpack=True" -o "&:cpack_destination=${{ env.ZIP_DIR }}" -o "*:shared=${{ matrix.shared }}"
- name: Release
uses: softprops/action-gh-release@v1
Expand Down Expand Up @@ -149,7 +151,7 @@ jobs:
shell: bash
run: |
export CTEST_OUTPUT_ON_FAILURE=TRUE
conan create . --build=missing -pr conan/profiles/gcc -o shared=${{ matrix.shared }} -o with_docs=False -o cpack=True -o cpack_name=dist -o cpack_destination=${{ github.workspace }}
conan create . --build=missing -pr conan/profiles/gcc -o '*:shared=${{ matrix.shared }}' -o '&:with_docs=False' -o '&:cpack=True' -o '&:cpack_name=dist' -o '&:cpack_destination=${{ github.workspace }}'
- name: Cleanse package version
run: |
Expand Down Expand Up @@ -225,5 +227,5 @@ jobs:
shell: bash
run: |
export CTEST_OUTPUT_ON_FAILURE=TRUE
conan create . --build=missing -pr conan/profiles/macos -o shared=${{ matrix.shared }} -o with_docs=False
conan create . --build=missing -pr conan/profiles/macos -o '*:shared=${{ matrix.shared }}' -o '&:with_docs=False'

0 comments on commit aee8c6b

Please sign in to comment.