Skip to content

Renamed backend call to validate #14

Renamed backend call to validate

Renamed backend call to validate #14

Workflow file for this run

name: Privateer Web App Backend
on:
push:
branches: [ "webapp" ]
paths:
- src/privateer/cpp/privateer-bind.cpp
pull_request:
branches: [ "webapp" ]
paths:
- src/privateer/cpp/privateer-bind.cpp
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check out dependencies
run : |
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
cd ..
- name: Check out libraries
run : |
git clone https://github.com/Dialpuri/privateer_webserver_dependencies.git
cd privateer_webserver_dependencies
cp -r * ../
cd ..
ls
- name: Setup cmake
uses: jwlawson/[email protected]
- name: Build
run : |
source ./emsdk/emsdk_env.sh
emcmake cmake . -D MODE=TESTING
emmake make -j