File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
Build :
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ webos-abi : [ 'ON', 'OFF' ]
12
15
13
16
steps :
14
17
- uses : actions/checkout@v4
31
34
run : |
32
35
cmake -B build -S . \
33
36
-DCMAKE_TOOLCHAIN_FILE=/tmp/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmake \
34
- -DCMAKE_BUILD_TYPE=Release -DWEBOS=ON
37
+ -DCMAKE_BUILD_TYPE=Release -DWEBOS=ON -DSDL_OFFSCREEN=OFF -DSDL_DISKAUDIO=OFF \
38
+ -DSDL_DUMMYAUDIO=OFF -DSDL_DUMMYVIDEO=OFF -DSDL_KMSDRM=OFF -DSDL_VENDOR_INFO=webOS\ Backport \
39
+ -DSDL_WEBOS_BROKEN_ABI=${{ matrix.webos-abi }}
35
40
36
41
- name : Build (CMake)
37
42
run : cmake --build build/ --config Release --verbose --parallel
42
47
run : |
43
48
cmake --install build/ --prefix dist
44
49
cd dist
45
- tar -czf ../SDL2-$(./bin/sdl2-config --version)-webos.tar.gz .
50
+ if [ "${BUILD_WEBOS_ABI}" == "ON" ]; then
51
+ tar -czf ../SDL2-$(./bin/sdl2-config --version)-webos-abi.tar.gz .
52
+ else
53
+ tar -czf ../SDL2-$(./bin/sdl2-config --version)-webos.tar.gz .
54
+ fi
55
+ env :
56
+ BUILD_WEBOS_ABI : ${{ matrix.webos-abi }}
46
57
47
58
- name : Release
48
59
if : github.event_name == 'release'
You can’t perform that action at this time.
0 commit comments