8
8
- ' doc/**'
9
9
- ' .github/**'
10
10
workflow_dispatch :
11
- pull_request :
12
11
13
12
jobs :
14
13
@@ -89,10 +88,10 @@ jobs:
89
88
with :
90
89
submodules : ' recursive'
91
90
92
- - name : Install dependencies
91
+ - name : install dependencies
93
92
run : sudo apt-get update && sudo apt-get install -y build-essential xorg-dev mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev libxinerama-dev libxcursor-dev vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools
94
93
95
- - name : linux-linux
94
+ - name : build
96
95
run : |
97
96
git submodule update --recursive
98
97
./build.sh -t -d -r
@@ -105,7 +104,7 @@ jobs:
105
104
cp -r build/PerlinWorld demos/
106
105
cd demos && zip -r ../demos.zip * && cd ..
107
106
108
- - name : Tests
107
+ - name : unit tests
109
108
working-directory : ${{github.workspace}}/build
110
109
# Execute tests defined by the CMake configuration.
111
110
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
@@ -135,10 +134,10 @@ jobs:
135
134
with :
136
135
submodules : ' recursive'
137
136
138
- - name : Install dependencies
137
+ - name : install dependencies
139
138
run : sudo apt-get update && sudo apt-get install -y xorg-dev build-essential mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev g++-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix libxinerama-dev libxcursor-dev vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools wine64
140
139
141
- - name : linux-X-windows
140
+ - name : build
142
141
run : |
143
142
git submodule update --recursive
144
143
./build.sh -w -d -r -t
@@ -154,7 +153,7 @@ jobs:
154
153
cd demos && zip -r ../demos.zip * && cd ..
155
154
cp build/*.dll build/TestScriptPack/
156
155
157
- - name : Tests (wine64)
156
+ - name : unit tests
158
157
working-directory : ${{github.workspace}}/build
159
158
# Execute tests defined by the CMake configuration.
160
159
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
@@ -185,7 +184,7 @@ jobs:
185
184
with :
186
185
submodules : ' recursive'
187
186
188
- - name : Install dependencies
187
+ - name : install dependencies
189
188
run : |
190
189
wget https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip -O vulkan-sdk.zip
191
190
unzip vulkan-sdk.zip
@@ -194,7 +193,7 @@ jobs:
194
193
cd ~/vulkan/
195
194
python install_vulkan.py
196
195
197
- - name : macos build
196
+ - name : build
198
197
run : |
199
198
git submodule update --recursive
200
199
./build.sh -o -d -r -t
@@ -207,7 +206,7 @@ jobs:
207
206
cp -r build/PerlinWorld demos/
208
207
cd demos && zip -r ../demos.zip * && cd ..
209
208
210
- - name : Tests
209
+ - name : unit tests
211
210
working-directory : ${{github.workspace}}/build
212
211
# Execute tests defined by the CMake configuration.
213
212
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
@@ -230,7 +229,7 @@ jobs:
230
229
runs-on : ubuntu-20.04
231
230
232
231
steps :
233
- - name : Install dependencies
232
+ - name : install dependencies
234
233
run : sudo apt-get update && sudo apt-get install -y xvfb x11-apps imagemagick
235
234
236
235
- name : get linux demos
@@ -278,7 +277,7 @@ jobs:
278
277
with :
279
278
submodules : ' recursive'
280
279
281
- - name : Install dependencies
280
+ - name : install dependencies
282
281
run : |
283
282
sudo apt-get update && sudo apt-get install -y build-essential mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools
284
283
wget https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
@@ -295,7 +294,7 @@ jobs:
295
294
./cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-34"
296
295
echo no | ./cmdline-tools/latest/bin/avdmanager create avd --name android34 --package "system-images;android-34;google_apis;x86_64"
297
296
298
- - name : build hop
297
+ - name : build
299
298
run : |
300
299
git submodule update --recursive
301
300
./build.sh -r --android android-ndk-r25c
@@ -371,10 +370,10 @@ jobs:
371
370
with :
372
371
name : linuxbuild
373
372
374
- - name : Install dependencies
373
+ - name : install dependencies
375
374
run : sudo apt-get update && sudo apt-get install -y xorg-dev build-essential mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev g++-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix libxinerama-dev libxcursor-dev vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools xvfb x11-apps imagemagick
376
375
377
- - name : linux lib test
376
+ - name : regression
378
377
run : |
379
378
ls
380
379
mv libHop-linux-x86_64.a libHop.a
@@ -407,10 +406,10 @@ jobs:
407
406
with :
408
407
name : windowsbuild
409
408
410
- - name : Install dependencies
409
+ - name : install dependencies
411
410
run : sudo apt-get update && sudo apt-get install -y xorg-dev build-essential mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev g++-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix libz-mingw-w64-dev libxinerama-dev libxcursor-dev vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools xvfb x11-apps imagemagick
412
411
413
- - name : mingw lib test
412
+ - name : regression
414
413
run : |
415
414
ls
416
415
mv libHop-windows.a libHop.a
@@ -441,7 +440,7 @@ jobs:
441
440
with :
442
441
name : macosbuild
443
442
444
- - name : Install dependencies
443
+ - name : install dependencies
445
444
run : |
446
445
wget https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip -O vulkan-sdk.zip
447
446
unzip vulkan-sdk.zip
@@ -450,7 +449,7 @@ jobs:
450
449
cd ~/vulkan/
451
450
python install_vulkan.py
452
451
453
- - name : macos lib test
452
+ - name : regression
454
453
run : |
455
454
ls
456
455
mv libHop-macos.a libHop.a
0 commit comments