Skip to content

Commit a6aa395

Browse files
authored
Merge pull request #225 from carstene1ns/fix/building
Fix workflow and flatpak building
2 parents e21dc46 + 635f62a commit a6aa395

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

.github/workflows/ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ jobs:
3939
matrix:
4040
image:
4141
- ubuntu:20.04 # LTS | CMake 3.16.3 | G++ 9.3.0 | QT 5.12.8
42-
- debian:11 # stable | CMake 3.18.4 | G++ 10.2.1 | QT 5.15.2
4342
- ubuntu:22.04 # LTS | CMake 3.22.1 | G++ 11.2.0 | QT 5.15.3
43+
- debian:12 # stable | CMake 3.25.1 | G++ 12.2.0 | QT 5.15.8
44+
- ubuntu:24.04 # LTS | CMake 3.28.3 | G++ 13.2.0 | QT 5.15.13
4445

4546
steps:
4647
- name: Cancel Previous Runs
@@ -52,8 +53,8 @@ jobs:
5253
apt-get update
5354
apt-get install -yqq --no-install-recommends --no-install-suggests \
5455
ca-certificates build-essential cmake ninja-build git \
55-
libicu-dev libexpat1-dev qttools5-dev-tools qtbase5-dev-tools \
56-
qtbase5-dev qtmultimedia5-dev libqt5svg5-dev
56+
libicu-dev libexpat1-dev libinih-dev qttools5-dev-tools \
57+
qtbase5-dev-tools qtbase5-dev qtmultimedia5-dev libqt5svg5-dev
5758
5859
- name: Clone Repository
5960
uses: actions/checkout@v2

builds/flatpak/org.easyrpg.editor.yml

+18-4
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,36 @@ finish-args:
1717
# - --filesystem=home
1818
- --device=dri
1919
- --allow=devel
20+
cleanup:
21+
- /include
22+
- /lib/cmake
23+
- /lib/pkgconfig
24+
- /lib/*.so
2025
modules:
26+
# external libraries
27+
- name: libinih
28+
buildsystem: meson
29+
config-opts:
30+
- --buildtype=debugoptimized
31+
sources:
32+
- type: git
33+
url: https://github.com/benhoyt/inih.git
34+
tag: 58
35+
commit: 5cc5e2c24642513aaa5b19126aad42d0e4e0923e
36+
# own libraries
2137
- name: liblcf
2238
buildsystem: cmake-ninja
39+
builddir: true
2340
config-opts:
2441
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
2542
- -DLIBLCF_ENABLE_TOOLS=OFF
2643
- -DLIBLCF_WITH_XML=OFF
2744
- -DLIBLCF_ENABLE_TESTS=OFF
45+
- -DLIBLCF_UPDATE_MIMEDB=OFF
2846
sources:
2947
- type: git
3048
url: https://github.com/EasyRPG/liblcf.git
31-
#tag: '0.7.0'
3249
cleanup:
33-
- /include
34-
- /lib/pkgconfig
35-
- /lib/cmake
3650
- /share
3751
- name: editor
3852
buildsystem: cmake-ninja

0 commit comments

Comments
 (0)