@@ -23,15 +23,15 @@ jobs:
23
23
run : |
24
24
sudo apt update
25
25
sudo apt install ruby
26
-
26
+
27
27
- name : Build UT dict
28
28
working-directory : ./src
29
29
run : |
30
30
sed -i 's/#alt_cannadic/alt_cannadic/' ./make.sh
31
31
sed -i 's/#neologd/neologd/' ./make.sh
32
32
bash ./make.sh
33
33
sed -i 's/\n/\r\n/g' mozcdic-ut.txt
34
-
34
+
35
35
- name : Upload artifact
36
36
uses : actions/upload-artifact@v2
37
37
with :
@@ -42,78 +42,77 @@ jobs:
42
42
runs-on : windows-latest
43
43
timeout-minutes : 120
44
44
needs : build_linux
45
-
45
+
46
46
steps :
47
47
- name : Download artifact
48
48
uses : actions/download-artifact@v2
49
49
with :
50
50
name : mozcdic-ut
51
51
path : .
52
-
52
+
53
53
- name : Checkout
54
54
uses : actions/checkout@v4
55
55
with :
56
56
repository : google/mozc
57
57
submodules : ' recursive'
58
-
58
+
59
59
- name : Set up pip
60
60
shell : cmd
61
61
working-directory : .\src
62
62
run : |
63
63
python -m pip install six requests
64
-
64
+
65
65
- name : Set up pip
66
66
shell : powershell
67
67
run : |
68
68
Get-Content mozcdic-ut.txt >> .\src\data\dictionary_oss\dictionary00.txt
69
-
70
-
69
+
70
+
71
71
- name : Try to restore update_deps cache
72
72
uses : actions/cache@v4
73
73
with :
74
74
path : src/third_party_cache
75
75
key : update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
76
-
76
+
77
77
- name : Install Dependencies
78
78
shell : cmd
79
79
working-directory : .\src
80
80
# This command uses src/third_party_cache as the download cache.
81
81
run : |
82
82
python build_tools/update_deps.py
83
-
84
-
83
+
84
+
85
85
- name : Biuld Qt
86
86
shell : cmd
87
87
working-directory : .\src
88
88
run : |
89
89
python build_tools/build_qt.py --release --confirm_license
90
-
90
+
91
91
- name : Delete Qt src to save disk space
92
92
shell : cmd
93
93
working-directory : .\src
94
94
run : |
95
95
rmdir third_party\qt_src /s /q
96
-
96
+
97
97
- name : gyp
98
98
shell : cmd
99
99
working-directory : .\src
100
100
run : |
101
101
python build_mozc.py gyp
102
-
102
+
103
103
- name : build package
104
104
shell : cmd
105
105
working-directory : .\src
106
106
run : |
107
107
python build_mozc.py build -c Release package
108
-
109
-
108
+
109
+
110
110
- name : upload Mozc64.msi
111
111
uses : actions/upload-artifact@v4
112
112
with :
113
113
name : Mozc64.msi
114
114
path : src/out_win/Release/Mozc64.msi
115
115
if-no-files-found : warn
116
-
117
116
test :
118
117
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
119
118
runs-on : windows-2022
0 commit comments