Fix appstream data to make flatpak/flathub happy #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build passes check | |
on: [ push ] | |
concurrency: | |
group: "continuous_test" | |
cancel-in-progress: true | |
jobs: | |
build-check: | |
name: Build check | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: check fcitx5-cskk version | |
id: version | |
run: | | |
echo version=`bin/version.sh` >> ${GITHUB_OUTPUT} | |
- name: check cskk version | |
id: cskk_version | |
run: | | |
echo cskk_version=`bin/cskk_version.sh` >> ${GITHUB_OUTPUT} | |
- name: Download & install libcskk | |
run: | | |
wget https://github.com/naokiri/cskk/releases/download/v${{ steps.cskk_version.outputs.cskk_version }}/libcskk_${{ steps.cskk_version.outputs.cskk_version }}_amd64.deb | |
sudo apt-get install ./libcskk_${{ steps.cskk_version.outputs.cskk_version }}_amd64.deb | |
- name: Install required libs and dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install gettext cmake extra-cmake-modules fcitx5-modules-dev libfcitx5core-dev qtbase5-dev libfcitx5-qt-dev | |
- name: Build | |
uses: ashutoshvarma/action-cmake-build@master | |
with: | |
build-dir: ${{ runner.workspace }}/build | |
cc: gcc | |
cxx: g++ | |
build-type: Release | |
run-test: false | |
configure-options: -DFCITX_INSTALL_USE_FCITX_SYS_PATHS=ON -DUSE_QT6=Off | |
build-options: --verbose |