Files
sparsebundlefs-mirror/docker-compose.yaml
Tor Arne Vestbø d7a1f72062 Add test harness and initial mount test
Tests are run using 'make check', and can be combined with the
existing Makefile targets, e.g. 'make check all' to run checks
on all available platforms.

Pass DEBUG=1 for additional test output.
2018-09-08 22:24:46 +02:00

48 lines
745 B
YAML

version: '3.7'
x-base-service: &base-service
build: &base-build
context: .
dockerfile: Dockerfile.linux-gcc
volumes:
- &src-volume .:/src
working_dir: /build
entrypoint:
- make
- -f
- /src/Makefile
network_mode: none
devices:
- /dev/fuse
cap_add:
- SYS_ADMIN
services:
linux-gcc-32:
<<: *base-service
build:
<<: *base-build
args:
- arch=i386
volumes:
- *src-volume
- linux-gcc-32:/build
environment:
- CFLAGS=-m32
- ARCH=i386
linux-gcc-64:
<<: *base-service
build:
<<: *base-build
args:
- arch=amd64
volumes:
- *src-volume
- linux-gcc-64:/build
volumes:
linux-gcc-32:
linux-gcc-64: