Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cura 11622 conan v2 #327

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
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
51 changes: 0 additions & 51 deletions .github/workflows/build.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: CI/CD
on: [push, pull_request]
jobs:
Expand All @@ -8,7 +7,7 @@ jobs:
container: python:3.7-slim
steps:
- name: Checkout master
uses: actions/checkout@v1.2.0
uses: actions/checkout@v4
- name: Install lxml
run: python -m pip install lxml==4.6.5
- name:
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/conan-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,18 @@ on:
branches:
- main
- master
- 'PP-*'
- 'CURA-*'
- 'PP-*'
- 'NP-*'
- '[0-9].[0-9]*'
- '[0-9].[0-9][0-9]*'

jobs:
conan-recipe-version:
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main
with:
project_name: fdm_materials

conan-package-export-linux:
needs: [ conan-recipe-version ]
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@main
# FIXME: Use main once merged
conan-package:
uses: ultimaker/cura-workflows/.github/workflows/conan-package.yml@CURA-11622_conan_v2
with:
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
platform_windows: false
platform_mac: false
install_system_dependencies: false
secrets: inherit
27 changes: 0 additions & 27 deletions .github/workflows/notify_on_print_profile_change.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/release.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/requirements-conan-package.txt

This file was deleted.

3 changes: 1 addition & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from conan.tools.scm import Version
from conan.errors import ConanInvalidConfiguration

required_conan_version = ">=1.56.0"
required_conan_version = ">=2.7.0"


class FDM_MaterialsConan(ConanFile):
Expand Down Expand Up @@ -43,7 +43,6 @@ def package_info(self):
self.cpp_info.includedirs = []
self.cpp_info.resdirs = ["res"]
self.runenv_info.append_path("CURA_RESOURCES", os.path.join(self.package_folder, "res", "resources"))
self.env_info.CURA_RESOURCES.append(os.path.join(self.package_folder, "res", "resources"))

def package_id(self):
self.info.clear()