-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (35 loc) · 888 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ci
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm \
mingw-w64-ucrt-x86_64-extra-cmake-modules \
cmake \
fmt \
gcc \
msys2-runtime-devel \
ninja
- name: Build
run: |
pushd fcitx5 && git apply ../patches/fcitx5.patch && popd
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release
cmake --build build || true
cp build/fcitx5/src/{lib/fcitx-utils/msys-Fcitx5Utils-2.dll,modules/spell}
cmake --build build