File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -121,3 +121,10 @@ jobs:
121
121
environmentVariables :
122
122
CMAKE_OPTIONS : -G"MinGW Makefiles"
123
123
PATH : $(Agent.TempDirectory)\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
124
+
125
+ - job : emscripten
126
+ displayName : ' Emscripten (javascript)'
127
+ pool :
128
+ vmImage : ' Ubuntu 16.04'
129
+ steps :
130
+ - script : docker run -v $(Build.SourcesDirectory):/libgit2 psalomo/libgit2.js
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:18.04
2
+ COPY . .
3
+ RUN bash setup.sh
4
+ ENTRYPOINT [ "bash" , "run.sh" ]
Original file line number Diff line number Diff line change
1
+ source ./emsdk/emsdk_env.sh
2
+ cd /libgit2/emscripten_hacks
3
+ rm libgit2.*
4
+ sh build.sh
5
+ node nodetest.js
6
+ node nodefstest.js
Original file line number Diff line number Diff line change
1
+ apt update
2
+ apt install -y python
3
+ apt install -y git
4
+ apt install -y cmake
5
+ apt install -y nodejs
6
+ git clone https://github.com/juj/emsdk.git
7
+ cd emsdk
8
+ ./emsdk install latest
9
+ ./emsdk activate latest
You can’t perform that action at this time.
0 commit comments