-
Notifications
You must be signed in to change notification settings - Fork 74
36 lines (34 loc) · 1.02 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
paths-ignore: [ '**.md', '**.adoc' ]
pull_request:
branches: [ '**' ]
paths-ignore: [ '**.md', '**.adoc' ]
jobs:
build:
if: contains(github.event.head_commit.message, 'deploy+') == false
runs-on: "ubuntu-latest"
strategy:
matrix:
env:
- { CXX: g++, CC: gcc, CXX_FOR_BUILD: g++, CC_FOR_BUILD: gcc }
- { CXX: clang++, CC: clang, CXX_FOR_BUILD: clang++, CC_FOR_BUILD: clang }
steps:
- name: checkout-source
uses: actions/checkout@v1
with:
submodules: recursive
- name: update-system
run: sudo apt-get update -qq
- name: install-deps
run: sudo apt-get -y install build-essential clang cmake rustc cargo libibus-1.0-dev libfcitx5core-dev libzstd-dev qtbase5-dev qtbase5-dev-tools
- name: make
env: ${{ matrix.env }}
run: |
mkdir build
cd build
cmake .. -DENABLE_IBUS=ON -DENABLE_FCITX=ON
make