-
Notifications
You must be signed in to change notification settings - Fork 9
49 lines (37 loc) · 989 Bytes
/
backend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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