-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 836 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (33 loc) · 836 Bytes
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
services:
build:
build: .
volumes:
- .:/src
- konclude-ccache:/ccache
working_dir: /src
command: >
bash -c "
exec > >(tee build.log) 2>&1 &&
mkdir -p dist &&
scripts/build-raptor-wasm.sh &&
emcmake cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DWASM_PRECOMP_VERBOSE=OFF -DWASM_HANG_DIAGNOSTICS=OFF . &&
emmake make -C build -j4 &&
chown -R $(stat -c '%u:%g' /src) dist/
"
smoke-test:
build: .
volumes:
- .:/src
working_dir: /src
command: node tests/smoke/smoke.mjs
shell:
build: .
volumes:
- .:/src
- konclude-ccache:/ccache
working_dir: /src
stdin_open: true
tty: true
command: bash
volumes:
konclude-ccache: