Merge remote-tracking branch 'origin/main' #7
This file contains hidden or 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: Debian Build Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:bookworm | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get install -y \ | |
git cmake build-essential ninja-build \ | |
libfcitx5core-dev libfcitx5utils-dev libfcitx5config-dev | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Configure | |
run: | | |
mkdir build | |
cd build | |
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr | |
- name: Build | |
run: cmake --build build |