Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
# for matrix check https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners
jobs:
prepare_matrix:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
matrix: ${{ steps.matrix_setup.outputs.matrix }}
steps:
Expand All @@ -35,14 +35,14 @@ jobs:
steps:
- name: Checkout the source
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0

- name: Checkout the source - pull request
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand All @@ -54,9 +54,9 @@ jobs:
sudo xcode-select -switch /Applications/Xcode_${{matrix.build-xcode-version}}.app

- name: Setup python version
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"
python-version: "3.12"

- name: Start ssh key agent
uses: webfactory/ssh-agent@v0.9.0
Expand Down
15 changes: 0 additions & 15 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def build(self):

cmake = self._configure_cmake()
cmake.build(build_type="RelWithDebInfo")
cmake.build(build_type="Release")

def package(self):
package_dir = pathlib.Path(self.build_folder, "package")
Expand All @@ -133,23 +132,9 @@ def package(self):
relWithDebInfo_dir,
]
)
subprocess.run(
[
"cmake",
"--install",
self.build_folder,
"--config",
"Release",
"--prefix",
release_dir,
]
)
self.copy(pattern="*", src=package_dir)

def package_info(self):
self.cpp_info.relwithdebinfo.libdirs = ["RelWithDebInfo/lib"]
self.cpp_info.relwithdebinfo.bindirs = ["RelWithDebInfo/Plugins", "RelWithDebInfo"]
self.cpp_info.relwithdebinfo.includedirs = ["RelWithDebInfo/include", "RelWithDebInfo"]
self.cpp_info.release.libdirs = ["Release/lib"]
self.cpp_info.release.bindirs = ["Release/Plugins", "Release"]
self.cpp_info.release.includedirs = ["Release/include", "Release"]
Loading