We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f174d commit 2c06fd5Copy full SHA for 2c06fd5
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "master"
7
+ - "release/*"
8
+ pull_request:
9
10
11
12
+ merge_group:
13
+ types: [checks_requested]
14
15
+env:
16
+ RUST_VERSION: "1.88"
17
+ CMAKE_GENERATOR: Ninja
18
19
+jobs:
20
+ build:
21
+ runs-on: ubuntu-latest
22
+ name: Syntax Checks
23
24
+ steps:
25
+ - uses: actions/checkout@v4
26
27
+ - name: Setup dependencies
28
+ run: |
29
+ sudo apt-get install ninja-build
30
+ rustup set auto-self-update disable
31
+ rustup install ${{ env.RUST_VERSION }}
32
+ rustup default ${{ env.RUST_VERSION }}
33
+ cargo install --bin chewing-cli https://github.com/chewing/libchewing
34
35
+ - name: Build
36
37
+ cmake -B build
38
+ cmake --build build
0 commit comments