-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathMakefile
56 lines (47 loc) · 1.08 KB
/
Makefile
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
50
51
52
53
54
55
56
DOCKER_TAG_OF_5=wenotest:5.x
DOCKER_TAG_OF_7=wenotest:7
DOCKER_TAG_OF_8=wenotest:8
DOCKER_TAG_OF_v1912=wenotest:v1912
DOCKER_TAG_OF_v2006=openfoam:v2006weno
DOCKER_TAG_OF_v2012=openfoam:v2012weno
all: runTestsOF5 runTestsOF7 runTestsOF8 runTestsOFv1912 runTestsOFv2006 runTestsOFv2012
runTestsOF5:
docker build \
--rm \
-t ${DOCKER_TAG_OF_5} \
-f CI/Dockerfile.OF5 \
.
runTestsOF7:
docker build \
--rm \
-t ${DOCKER_TAG_OF_7} \
-f CI/Dockerfile.OF7 \
.
runTestsOF8:
docker build \
--rm \
-t ${DOCKER_TAG_OF_8} \
-f CI/Dockerfile.OF8 \
.
runTestsOFv1912:
docker build \
--rm \
-t ${DOCKER_TAG_OF_v1912} \
-f CI/Dockerfile.OFv1912 \
.
runTestsOFv2006:
docker build \
--rm \
-t ${DOCKER_TAG_OF_v2006} \
-f CI/Dockerfile.OFv2006 \
.
runTestsOFv2012:
docker build \
--rm \
-t ${DOCKER_TAG_OF_v2012} \
-f CI/Dockerfile.OFv2012 \
.
removeStoppedContainer:
docker container prune -f
clean: removeStoppedContainer
docker rmi ${DOCKER_TAG_OF_5} ${DOCKER_TAG_OF_7} $ ${DOCKER_TAG_OF_8} ${DOCKER_TAG_OF_v1912} ${DOCKER_TAG_OF_v2006} ${DOCKER_TAG_OF_v2012}