From 337e6dd7e565801624396f20e6fe98b140fac1d2 Mon Sep 17 00:00:00 2001 From: zonble Date: Thu, 26 Sep 2024 04:00:16 +0800 Subject: [PATCH] Updates CI settings for Manjaro. --- .github/workflows/ci.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 753afad..a3ee376 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -126,3 +126,26 @@ jobs: run: | cd build ctest --output-on-failure + + build_manjaro: + # strategy: + # fail-fast: false + # matrix: + # os: ["fedora:42", "fedora:41", "fedora:40", "fedora:39"] + runs-on: ubuntu-latest + container: manjarolinux/base:latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + pacman -S --noconfirm gcc cmake make pkg-config extra-cmake-modules fmt fcitx5 fcitx5-chinese-addons fcitx5-gtk fcitx5-qt + - name: Build + run: | + mkdir -p build + cd build + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug + make + - name: Test + run: | + cd build + ctest --output-on-failure