Skip to content

Commit

Permalink
Disable workaround, don't call gdbus-codegen in glib tests too. Easie…
Browse files Browse the repository at this point in the history
…r than a workaround
  • Loading branch information
ViliusSutkus89 committed Jul 22, 2024
1 parent c8ac56d commit a8fbb94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ jobs:

- name: conan test
run: conan test ${{ matrix.package.test_conanfile }} ${{ matrix.package.package_reference }} --build missing --profile:host ${{ matrix.config.host_profile }} --profile:build ubuntu
env:
# __pycache__ issue workaround ( https://github.com/conan-io/conan/issues/16707 )
PYTHONDONTWRITEBYTECODE: 1

- name: conan login
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' && github.event.inputs.upload_to_artifactory == 'true'
Expand Down
5 changes: 3 additions & 2 deletions recipes/glib/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ def test(self):
if can_run(self):
bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package")
self.run(bin_path, env="conanrun")
if self.settings.os != "Windows":
self.run("gdbus-codegen -h", env="conanrun")
# https://github.com/conan-io/conan/issues/16707
# if self.settings.os != "Windows":
# self.run("gdbus-codegen -h", env="conanrun")

0 comments on commit a8fbb94

Please sign in to comment.