Skip to content

Commit d3ce6d9

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 560bf38 + 354a8f6 commit d3ce6d9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Debian Build Test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
container:
14+
image: debian:bookworm
15+
16+
steps:
17+
- name: Install dependencies
18+
run: |
19+
apt-get update
20+
apt-get install -y \
21+
git cmake build-essential ninja-build \
22+
libfcitx5core-dev libfcitx5utils-dev libfcitx5config-dev
23+
24+
- name: Checkout source
25+
uses: actions/checkout@v4
26+
27+
- name: Configure
28+
run: |
29+
mkdir build
30+
cd build
31+
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
32+
33+
- name: Build
34+
run: cmake --build build

0 commit comments

Comments
 (0)