Fixed Emscripten Build
This commit is contained in:
parent
b2839abb06
commit
c6b9c7588e
7 changed files with 132 additions and 2 deletions
16
conan/emsdk/all/test_package/conanfile.py
Normal file
16
conan/emsdk/all/test_package/conanfile.py
Normal 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue