File tree Expand file tree Collapse file tree 2 files changed +32
-41
lines changed Expand file tree Collapse file tree 2 files changed +32
-41
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches :
9
9
- master
10
+ workflow_dispatch :
10
11
11
12
jobs :
12
13
clang-format :
71
72
ctest --test-dir fcitx5/build
72
73
- name : CodeQL Analysis
73
74
uses : github/codeql-action/analyze@v2
75
+
76
+ check-windows :
77
+ name : Build on Windows
78
+ needs : clang-format
79
+ runs-on : windows-2025
80
+ strategy :
81
+ fail-fast : false
82
+
83
+ steps :
84
+ - uses : actions/checkout@v4
85
+
86
+ - name : Install dependencies
87
+ run : |
88
+ C:/msys64/usr/bin/pacman -Syu --noconfirm
89
+ C:/msys64/usr/bin/pacman -S --noconfirm `
90
+ mingw-w64-clang-x86_64-extra-cmake-modules `
91
+ mingw-w64-clang-x86_64-dlfcn `
92
+ mingw-w64-clang-x86_64-libuv `
93
+ mingw-w64-clang-x86_64-clang `
94
+ mingw-w64-clang-x86_64-cmake `
95
+ mingw-w64-clang-x86_64-ninja `
96
+ mingw-w64-clang-x86_64-pkgconf `
97
+ mingw-w64-clang-x86_64-gettext-tools
98
+ Add-Content $env:GITHUB_PATH "C:/msys64/clang64/bin"
99
+
100
+ - name : Build
101
+ uses : fcitx/github-actions@cmake
102
+ with :
103
+ path : .
104
+ cmake-option : >-
105
+ -DENABLE_DBUS=Off -DENABLE_X11=Off -DENABLE_WAYLAND=Off -DENABLE_ENCHANT=Off -DENABLE_SERVER=Off -DENABLE_XDGAUTOSTART=Off -DENABLE_LIBUUID=Off -DENABLE_KEYBOARD=Off -DBUILD_SPELL_DICT=Off
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments