File tree 1 file changed +74
-0
lines changed
1 file changed +74
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_requuest :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ check :
13
+ name : Build and test
14
+ runs-on : ubuntu-latest
15
+ container : archlinux:latest
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ compiler : [gcc, clang]
20
+ include :
21
+ - compiler : gcc
22
+ cxx_compiler : g++
23
+ - compiler : clang
24
+ cxx_compiler : clang++
25
+ env :
26
+ CC : ${{ matrix.compiler }}
27
+ CXX : ${{ matrix.cxx_compiler }}
28
+ steps :
29
+ - name : Install dependencies
30
+ run : |
31
+ pacman -Syu --noconfirm base-devel clang cmake ninja extra-cmake-modules fmt libuv boost git
32
+ - uses : actions/checkout@v4
33
+ with :
34
+ repository : fcitx/fcitx5
35
+ path : fcitx5
36
+ - name : Cache fcitx5 data files
37
+ uses : actions/cache@v4
38
+ with :
39
+ path : ' fcitx5/**/*.tar.*'
40
+ key : ${{ runner.os }}-${{ hashFiles('fcitx5/src/modules/spell/CMakeLists.txt') }}
41
+ - name : Build and Install fcitx5
42
+ uses : fcitx/github-actions@cmake
43
+ with :
44
+ path : fcitx5
45
+ cmake-option : >-
46
+ -DENABLE_KEYBOARD=Off
47
+ -DENABLE_X11=Off
48
+ -DENABLE_WAYLAND=Off
49
+ -DENABLE_ENCHANT=Off
50
+ -DENABLE_DBUS=Off
51
+ -DENABLE_SERVER=Off
52
+ -DENABLE_EMOJI=Off
53
+ -DUSE_SYSTEMD=Off
54
+ - uses : actions/checkout@v4
55
+ with :
56
+ repository : fcitx/libime
57
+ path : libime
58
+ submodules : true
59
+ - name : Cache libime data files
60
+ uses : actions/cache@v4
61
+ with :
62
+ path : ' libime/**/*.tar.*'
63
+ key : ${{ runner.os }}-${{ hashFiles('libime/data/CMakeLists.txt') }}
64
+ - name : Build and Install libime
65
+ uses : fcitx/github-actions@cmake
66
+ with :
67
+ path : libime
68
+ - uses : actions/checkout@v4
69
+ with :
70
+ path : fcitx5-table-other
71
+ - name : Build and Install fcitx5-table-other
72
+ uses : fcitx/github-actions@cmake
73
+ with :
74
+ path : fcitx5-table-other
You can’t perform that action at this time.
0 commit comments