fix iOS crash: strict weak ordering #17
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: ci | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt install -y ninja-build \ | |
clang-format \ | |
extra-cmake-modules \ | |
gettext \ | |
fcitx5-modules-dev \ | |
libfcitx5core-dev \ | |
libfcitx5utils-dev \ | |
libfmt-dev \ | |
libjson-c-dev \ | |
marisa \ | |
libmarisa-dev | |
- name: Lint | |
run: | | |
find src test -name '*.cpp' -o -name '*.h' | xargs clang-format -Werror --dry-run || { echo Please lint your code by '"'"find src test -name '*.cpp' -o -name '*.h' | xargs clang-format -i"'"'.; false; } | |
- name: Build | |
run: | | |
cmake -B build -G Ninja \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DFCITX_INSTALL_USE_FCITX_SYS_PATHS=ON | |
cmake --build build | |
sudo cmake --install build | |
- name: Test | |
run: | |
ctest --output-on-failure --test-dir build |