Debian Codegraph @

.github/workflows/linux.yaml

raw symbols SCIP
1 name: Linux
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7
8 jobs:
9 tests:
10 name: Tests
11 runs-on: ubuntu-latest
12 steps:
13 - name: Install Build Dependencies
14 run: |
15 sudo apt-get update
16 sudo apt-get install gcc automake autoconf make libx11-dev
17
18 - name: Clone Project
19 uses: actions/checkout@v3
20
21 - name: Build
22 run: |
23 ./autogen.sh
24 ./configure --with-no-install --enable-test --enable-skip-old-int-typedefs
25 make
26 make tests
27 ./run-tests
28
29 x11:
30 name: X11
31 runs-on: ubuntu-latest
32 steps:
33 - name: Install Build Dependencies
34 run: |
35 sudo apt-get update
36 sudo apt-get install gcc make cmake libx11-dev
37
38 - name: Clone Project
39 uses: actions/checkout@v3
40
41 - name: Build
42 run: |
43 mkdir build
44 cd build
45 env CFLAGS=-Wall cmake -DUSE_PRINTF_STYLE_CHECKS=ON ..
46 make
47
48 ncurses:
49 name: NCurses
50 runs-on: ubuntu-latest
51 steps:
52 - name: Install Build Dependencies
53 run: |
54 sudo apt-get update
55 sudo apt-get install gcc make cmake libncursesw5-dev
56
57 - name: Clone Project
58 uses: actions/checkout@v3
59
60 - name: Build
61 run: |
62 mkdir build
63 cd build
64 env CFLAGS=-Wall cmake -DSUPPORT_GCU_FRONTEND=ON -DUSE_PRINTF_STYLE_CHECKS=ON ..
65 make
66
67 sdl:
68 name: SDL
69 runs-on: ubuntu-latest
70 steps:
71 - name: Install Build Dependencies
72 run: |
73 sudo apt-get update
74 sudo apt-get install gcc make cmake libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev
75
76 - name: Clone Project
77 uses: actions/checkout@v3
78
79 - name: Build
80 run: |
81 mkdir build
82 cd build
83 env CFLAGS=-Wall cmake -DSUPPORT_SDL_FRONTEND=ON -DSUPPORT_SDL_SOUND=ON -DUSE_PRINTF_STYLE_CHECKS=ON ..
84 make
85
86 sdl2:
87 name: SDL2
88 runs-on: ubuntu-latest
89 steps:
90 - name: Install Build Dependencies
91 run: |
92 sudo apt-get update
93 sudo apt-get install gcc autoconf automake make libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
94
95 - name: Clone Project
96 uses: actions/checkout@v3
97
98 - name: Build
99 run: |
100 ./autogen.sh
101 ./configure --with-no-install --enable-sdl2 --enable-sdl2-mixer --enable-skip-old-int-typedefs
102 make
103
104 statbuild:
105 name: Statistics Build
106 runs-on: ubuntu-latest
107 steps:
108 - name: Install Build Dependencies
109 run: |
110 sudo apt-get update
111 sudo apt-get install gcc autoconf automake make libsqlite3-dev libsdl1.2-dev libsdl-mixer1.2-dev
112
113 - name: Clone Project
114 uses: actions/checkout@v3
115
116 # Turn on sound and the test front end so more of the basic
117 # infrastructure is compiled.
118 - name: Build
119 run: |
120 ./autogen.sh
121 env CFLAGS="-Wvla -Wlogical-op" ./configure --with-no-install --enable-stats --enable-test --enable-sdl-mixer --enable-skip-old-int-typedefs
122 make
123
124 makefilestd:
125 name: Makefile.std
126 runs-on: ubuntu-latest
127 steps:
128 - name: Install Build Dependencies
129 run: |
130 sudo apt-get update
131 sudo apt-get install gcc make libncursesw5-dev libx11-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsqlite3-dev
132
133 - name: Clone Project
134 uses: actions/checkout@v3
135
136 - name: Build
137 run: |
138 cd src
139 sed -e 's/^# SYS_x11 =/SYS_x11 =/' -e 's/^# SYS_sdl =/SYS_sdl=/' -e 's/^# SYS_stats =/SYS_stats =/' -e 's/^# SYS_stats_objs =/SYS_stats_objs =/' -e 's/^#SOUND_sdl =/SOUND_sdl =/' -e 's/^#SOUND_sdl_objs =/SOUND_sdl_objs =/' <Makefile.std >Makefile.std.modified
140 make -f Makefile.std.modified