Skip to content

Commit

Permalink
Update ci-conan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin authored Dec 28, 2024
1 parent 0912068 commit 5287755
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,14 @@ jobs:
- name: Run conan
run: |
conan create . --build=missing -s:a compiler.cppstd=17 -pr:b=default ${{matrix.conanflags}} -tf conan/test_package/
conan create . --build=missing -s:a compiler.cppstd=17 -pr:b=default ${{matrix.conanflags}}
- name: Test userver conan package
run: |
USERVER_VERSION=$(conan list -c -v quiet userver/* | tail -n 1)
for SAMPLE in hello_service embedded_files postgres_service grpc_service; do
cp scripts/tests/conanfile.py samples/$SAMPLE/
conan test samples/$SAMPLE/ --build=never -s:a compiler.cppstd=17 -pr:b=default ${{matrix.conanflags}} ${USERVER_VERSION}
rm samples/$SAMPLE/conanfile.py
done

0 comments on commit 5287755

Please sign in to comment.