Emscripten

Bailey Difuntorum's Avatar

Bailey Difuntorum

26 Mar, 2019 07:49 PM

How to I build with emscripten?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 26 Mar, 2019 08:48 PM

    Ilya Finkelshteyn's Avatar

    Hi Bailey,

    Using their documentation I created a YAML configuration for you to install it on-the-fly for both Windows and Linux builds.

    image:
    - Visual Studio 2017
    - Ubuntu
    
    build_script:
    - echo "my emscripten build"
    
    for:
    -
      matrix:
        only:
          - image: Ubuntu
    
      install:
      - git clone https://github.com/emscripten-core/emsdk.git
      - cd emsdk
      - ./emsdk install latest
      - ./emsdk activate latest
      - source ./emsdk_env.sh
      - cd $appveyor_build_folder
      
    -
      matrix:
        only:
          - image: Visual Studio 2017
    
      install:
      - git clone https://github.com/emscripten-core/emsdk.git
      - cd emsdk
      - emsdk install latest
      - emsdk activate latest
      - emsdk_env.bat
      - cd %appveyor_build_folder%
    

    Regarding build script itself, I believe you know better than me what commands to run. With this configuration at the build_script stage you already got your sources cloned and emscripten installed, so you should be able to build.

    Let us know if you have any more questions.

    Ilya.

  2. Ilya Finkelshteyn closed this discussion on 26 May, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac