Skip to content

Commit

Permalink
RCPP-41 Add Conan GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire committed Mar 7, 2024
1 parent 7baaeb2 commit 9753740
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,22 @@ jobs:
- name: Conan version
run: echo "${{ steps.conan.outputs.version }}"

- name: Configure and build
- name: Conan profile detect
working-directory: .
run: |
conan profile detect
- name: Update Conan profile
if: matrix.os.name == 'windows-latest'
run: |
$profilePath = "$env:USERPROFILE\.conan\profiles\default"
$content = Get-Content -Path $profilePath
$content = $content -replace 'compiler.cppstd=14', 'compiler.cppstd=17'
$content | Set-Content -Path $profilePath
- name: Conan create
working-directory: .
run: |
conan create . -tf="tests"
- name: Open a tmate debug session
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def requirements(self):
if not self.is_darwin():
self.requires("openssl/3.2.0")
if self.settings.os == "Linux":
self.requires("curl/8.4.0")
self.requires("libcurl/8.4.0")

def source(self):
git = Git(self)
Expand Down

0 comments on commit 9753740

Please sign in to comment.