Skip to content

Commit b12dddb

Browse files
committed
ci: install clang-format package
1 parent afbdbfe commit b12dddb

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.github/workflows/commit-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
- name: Setup Android SDK
4545
uses: android-actions/setup-android@v2
4646

47+
- name: Install dependency
48+
run: ./script/dependency.sh
49+
4750
- name: Build Trime
4851
run: make debug
4952

.github/workflows/pull-request-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
- name: Setup Android SDK
4545
uses: android-actions/setup-android@v2
4646

47+
- name: Install dependency
48+
run: ./script/dependency.sh
49+
4750
- name: Build Trime
4851
run: make debug
4952

.github/workflows/release-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
echo "set up keystore for release"
5353
echo "need help!!"
5454
55+
- name: Install dependency
56+
run: ./script/dependency.sh
57+
5558
- name: Build Trime
5659
run: make debug
5760

script/dependency.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
# install clang format
4+
sudo apt-get install -y clang-format

0 commit comments

Comments
 (0)