Skip to content

Commit 3cf120b

Browse files
chore(deps): update fcitx5-mozc digest to 17a9e51 (#277)
Co-authored-by: Qijia Liu <liumeo@pku.edu.cn>
1 parent 34895c2 commit 3cf120b

File tree

6 files changed

+16
-36
lines changed

6 files changed

+16
-36
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,10 @@ on:
99
pull_request:
1010
workflow_dispatch:
1111

12-
env:
13-
MOZC_SHA: 3feec1b11cd72d0af182da3f80bc3988a7ec3f10
14-
1512
jobs:
1613
lint:
1714
runs-on: ubuntu-latest
1815
outputs:
19-
MOZC_SHA: ${{ env.MOZC_SHA }}
2016
message: ${{ steps.commit-message.outputs.message }}
2117
steps:
2218
- uses: actions/checkout@v6
@@ -49,8 +45,6 @@ jobs:
4945
if: "!contains(needs.lint.outputs.message, '!macos')"
5046
needs: lint
5147
uses: ./.github/workflows/macos.yml
52-
with:
53-
mozc_sha: ${{ needs.lint.outputs.MOZC_SHA }}
5448

5549
windows:
5650
if: "!contains(needs.lint.outputs.message, '!windows')"
@@ -61,5 +55,3 @@ jobs:
6155
if: "!contains(needs.lint.outputs.message, '!js')"
6256
needs: lint
6357
uses: ./.github/workflows/js.yml
64-
with:
65-
mozc_sha: ${{ needs.lint.outputs.MOZC_SHA }}

.github/workflows/js.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: JS build
22

33
on:
44
workflow_call:
5-
inputs:
6-
mozc_sha:
7-
description: "Commit SHA of google/mozc"
8-
required: true
9-
type: string
105

116
jobs:
127
build:
@@ -18,13 +13,6 @@ jobs:
1813
with:
1914
submodules: recursive
2015

21-
- uses: actions/checkout@v6
22-
with:
23-
submodules: recursive
24-
repository: google/mozc
25-
path: fcitx5-mozc/mozc
26-
ref: ${{ inputs.mozc_sha }}
27-
2816
- uses: actions/checkout@v6
2917
with:
3018
repository: emscripten-core/emsdk

.github/workflows/macos.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: macOS build
22

33
on:
44
workflow_call:
5-
inputs:
6-
mozc_sha:
7-
description: "Commit SHA of google/mozc"
8-
required: true
9-
type: string
105

116
jobs:
127
build:
@@ -23,13 +18,6 @@ jobs:
2318
with:
2419
submodules: recursive
2520

26-
- uses: actions/checkout@v6
27-
with:
28-
submodules: recursive
29-
repository: google/mozc
30-
path: fcitx5-mozc/mozc
31-
ref: ${{ inputs.mozc_sha }}
32-
3321
- uses: actions/setup-python@v6
3422
with:
3523
python-version: '3.14'

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ endif()
9393

9494
# chewing
9595
if (CHEWING)
96+
add_library(Chewing_static STATIC IMPORTED)
97+
set_target_properties(Chewing_static PROPERTIES
98+
IMPORTED_LOCATION "${PREBUILDER_LIB_DIR}/libchewing.a"
99+
INTERFACE_INCLUDE_DIRECTORIES "${PREBUILDER_INCLUDE_DIR}/chewing"
100+
)
101+
set(CHEWING_TARGET Chewing_static)
96102
add_subdirectory(fcitx5-chewing)
97103
endif()
98104

tests/test-chewing.spec.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
import { test } from '@playwright/test'
22
import { expectText, init } from './util'
33

4-
test('5j', async ({ page }) => {
4+
test('Chewing', async ({ page }) => {
55
await init(page, 'chewing', '新酷音')
66

77
await page.keyboard.type('5j')
88
await expectText(page, 'ㄓㄨ')
99

10+
await page.keyboard.type('4')
11+
await expectText(page, '住')
12+
13+
await page.keyboard.type('up')
14+
await expectText(page, '住ㄧㄣ')
15+
1016
await page.keyboard.press(' ')
11-
await expectText(page, '')
17+
await expectText(page, '注音')
1218

1319
await page.keyboard.press('Enter')
1420
await page.keyboard.type(' ')
15-
await expectText(page, ' ')
21+
await expectText(page, '注音 ')
1622
})

0 commit comments

Comments
 (0)