-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbitbucket-pipelines.yml
87 lines (71 loc) · 3.28 KB
/
bitbucket-pipelines.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
image: leanid/fedora_latest
pipelines:
default:
- step:
script:
- git clean -df
- cmake 01-basic-game-dev/01-1-hello-world/
- cmake --build .
- ./01-1-hello-world
#- git clean -df
#- mingw64-cmake 01-basic-game-dev/01-1-hello-world/
#- mingw64-cmake --build .
#- WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin wine ./01-1-hello-world.exe # too long 30 seconds
- git clean -df
- CXX=clang++ cmake 01-basic-game-dev/01-1-hello-world/
- CXX=clang++ cmake --build .
- ./01-1-hello-world
- git clean -df
- cmake 01-basic-game-dev/01-2-hello-lib/
- cmake --build .
- hello_bin/hello-bin-static
#- git clean -df
#- mingw64-cmake 01-basic-game-dev/01-2-hello-lib/
#- mingw64-cmake --build .
#- WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin wine hello_bin/hello-bin # too long 30 seconds
- git clean -df
- CXX=clang++ cmake 01-basic-game-dev/01-2-hello-lib/
- CXX=clang++ cmake --build .
- hello_bin/hello-bin-dynamic
- git clean -df
- cmake 01-basic-game-dev/02-1-sdl-dynamic/
- cmake --build .
- ./02-sdl-dynamic
# Static version of libSDL2d.a - not exist on build machine. Leave it only to check locally.
#- git clean -df
#- cmake -configure 01-basic-game-dev/02-2-sdl-static/
#- cmake -generate 01-basic-game-dev/02-2-sdl-static/
#- make
#- ./02-sdl-static
#- git clean -df
#- mingw64-cmake 01-basic-game-dev/02-1-sdl-dynamic/
#- mingw64-cmake --build .
#- WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin wine ./02-sdl-dynamic.exe # too long 30 seconds
# Static version of libSDL2d.a - not exist on build machine. Leave it only to check locally.
#- git clean -df
#- mingw64-cmake -configure 01-basic-game-dev/02-2-sdl-static/
#- mingw64-cmake -generate 01-basic-game-dev/02-2-sdl-static/
#- mingw64-make
#- WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin wine ./02-sdl-static.exe # too long 30 seconds
- git clean -df
- cmake 01-basic-game-dev/03-1-sdl-loop/
- cmake --build .
- git clean -df
- cmake 01-basic-game-dev/03-2-sdl-loop-to-engine/
- cmake --build .
- git clean -df
- cmake 01-basic-game-dev/03-3-sdl-loop-to-engine-dll/
- cmake --build .
#- git clean -df
#- mingw64-cmake 01-basic-game-dev/04-1-opengl-minimal/
#- mingw64-cmake --build .
#- WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin wine ./game.exe # run opengl minimal on linux with wine (works)
- git clean -df
- cmake 01-basic-game-dev/04-2-opengl-triangle/
- cmake --build .
- git clean -df
- cmake 01-basic-game-dev/05-1-vertex-morphing/
- cmake --build .
- git clean -df
- cmake 01-basic-game-dev/05-2-texture-loading/
- cmake --build .