Fixed Emscripten Build

This commit is contained in:
Yousef Khadadeh 2026-08-28 21:44:05 +03:00
parent b2839abb06
commit c6b9c7588e
7 changed files with 132 additions and 2 deletions

View file

@ -0,0 +1,16 @@
from conan import ConanFile
from conan.tools.build import can_run
class TestPackageConan(ConanFile):
settings = "os", "arch", "compiler", "build_type"
def requirements(self):
self.requires(self.tested_reference_str)
def test(self):
# Check the package provides working binaries
if can_run(self):
self.run("emcc -v", env="conanrun")
self.run("em++ -v", env="conanrun")
self.run("node -v", env="conanrun")