Skip to content

Commit 6033252

Browse files
committed
WIP: meson: enable icu and run example
squash when working
1 parent d4ddc8c commit 6033252

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/meson.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,28 @@ on:
99

1010
jobs:
1111
build-ubuntu:
12+
strategy:
13+
matrix:
14+
icu: [enabled, disabled]
1215
name: Build and Test on Ubuntu
1316
runs-on: ubuntu-latest
1417
steps:
1518
- uses: actions/checkout@v6
1619
- uses: actions/setup-python@v5
17-
- uses: BSFishy/[email protected]
1820
with:
19-
action: test
20-
meson-version: 0.64.1
21+
cache: 'pip'
22+
- name: Install Meson
23+
run: pip install meson==0.64.1
24+
- name: Install Ninja
25+
run: sudo apt install ninja-build
26+
- name: Configure with Meson
27+
run : meson setup builddir -Dicu=${{ matrix.icu }}
28+
- name: Build
29+
run: ninja -C builddir
30+
- name: Run Tests
31+
run: ninja -C builddir test
32+
- name: Run examples
33+
run: builddir/example
2134

2235
build-macos:
2336
name: Build and Test on MacOS

0 commit comments

Comments
 (0)