mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-03-03 18:28:07 +01:00
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.
48 lines
745 B
YAML
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:
|
|
|