Skip to content

Commit

Permalink
Merge pull request #225 from carstene1ns/fix/building
Browse files Browse the repository at this point in the history
Fix workflow and flatpak building
  • Loading branch information
carstene1ns authored May 23, 2024
2 parents e21dc46 + 635f62a commit a6aa395
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
matrix:
image:
- ubuntu:20.04 # LTS | CMake 3.16.3 | G++ 9.3.0 | QT 5.12.8
- debian:11 # stable | CMake 3.18.4 | G++ 10.2.1 | QT 5.15.2
- ubuntu:22.04 # LTS | CMake 3.22.1 | G++ 11.2.0 | QT 5.15.3
- debian:12 # stable | CMake 3.25.1 | G++ 12.2.0 | QT 5.15.8
- ubuntu:24.04 # LTS | CMake 3.28.3 | G++ 13.2.0 | QT 5.15.13

steps:
- name: Cancel Previous Runs
Expand All @@ -52,8 +53,8 @@ jobs:
apt-get update
apt-get install -yqq --no-install-recommends --no-install-suggests \
ca-certificates build-essential cmake ninja-build git \
libicu-dev libexpat1-dev qttools5-dev-tools qtbase5-dev-tools \
qtbase5-dev qtmultimedia5-dev libqt5svg5-dev
libicu-dev libexpat1-dev libinih-dev qttools5-dev-tools \
qtbase5-dev-tools qtbase5-dev qtmultimedia5-dev libqt5svg5-dev
- name: Clone Repository
uses: actions/checkout@v2
Expand Down
22 changes: 18 additions & 4 deletions builds/flatpak/org.easyrpg.editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,36 @@ finish-args:
# - --filesystem=home
- --device=dri
- --allow=devel
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /lib/*.so
modules:
# external libraries
- name: libinih
buildsystem: meson
config-opts:
- --buildtype=debugoptimized
sources:
- type: git
url: https://github.com/benhoyt/inih.git
tag: 58
commit: 5cc5e2c24642513aaa5b19126aad42d0e4e0923e
# own libraries
- name: liblcf
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DLIBLCF_ENABLE_TOOLS=OFF
- -DLIBLCF_WITH_XML=OFF
- -DLIBLCF_ENABLE_TESTS=OFF
- -DLIBLCF_UPDATE_MIMEDB=OFF
sources:
- type: git
url: https://github.com/EasyRPG/liblcf.git
#tag: '0.7.0'
cleanup:
- /include
- /lib/pkgconfig
- /lib/cmake
- /share
- name: editor
buildsystem: cmake-ninja
Expand Down

0 comments on commit a6aa395

Please sign in to comment.