Skip to content
Vihan edited this page May 18, 2019 · 3 revisions

Using VSL with a continuous integration solution is straightforward in most. As stated in the Installation requirements page, you'll need LLVM and a build toolchain (Clang recommended). Additionally, you'll need node and npm to run and install VSL but that should be it.

Example Travis Configuration

# VSL Dependencies
apt:
  packages:
    - llvm-toolchain-trusty-7
    - clang-7.0

# VSL is written in node
language: node_js

# Install VSL
install:
    - npm i -g vsl-lang/vsl

# Build your project
script:
  - vsl build . -o MyApp.out
  - ./MyApp.out

If you are making a library you can use -Xl -shared to output a .so