Skip to content

Commit

Permalink
fix after testing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed May 26, 2024
1 parent 70bf40c commit 56ae82f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
${{ matrix.config.os }}-${{ matrix.config.compiler }}-
- name: conan install
run: conan install ${{ matrix.package.conanfile }} --version ${{ matrix.package.version }} --build=missing
run: conan install ${{ matrix.package.conanfile }} --version ${{ matrix.package.version }} --build missing
- name: conan source
run: conan source ${{ matrix.package.conanfile }} --version ${{ matrix.package.version }}
- name: conan build
Expand All @@ -97,7 +97,9 @@ jobs:
run: conan export ${{ matrix.package.conanfile }} --version ${{ matrix.package.version }}

- name: conan test
run: conan test ${{ matrix.package.conanfile }} ${{ matrix.package.package_version }}
run: >
test_conanfil=$(dirname ${{ matrix.package.conanfile }})/test_package/conanfile.py
conan test ${{ matrix.package.conanfile }} ${{ matrix.package.package_version }} --build missing
- name: conan upload
run: conan upload "*" --check --confirm --remote odr
4 changes: 2 additions & 2 deletions recipes/odrcore/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.1)
project(test_package LANGUAGES CXX)

find_package(cryptopp REQUIRED CONFIG)
find_package(odrcore REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE odr::odr)
target_link_libraries(${PROJECT_NAME} PRIVATE odrcore::odrcore)

0 comments on commit 56ae82f

Please sign in to comment.