Skip to content

Commit bbf7c7d

Browse files
committed
Merge workflow file
1 parent cc7e268 commit bbf7c7d

File tree

2 files changed

+32
-41
lines changed

2 files changed

+32
-41
lines changed

.github/workflows/check.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
branches:
99
- master
10+
workflow_dispatch:
1011

1112
jobs:
1213
clang-format:
@@ -71,3 +72,34 @@ jobs:
7172
ctest --test-dir fcitx5/build
7273
- name: CodeQL Analysis
7374
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

.github/workflows/windows.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)