-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (33 loc) · 881 Bytes
/
test.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
36
37
38
39
40
41
name: Meson Tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install meson libglib2.0-dev
- name: Create Build Environment
run: meson setup ${{github.workspace}}/build
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: ninja
- name: Stylecheck
run: deno fmt --check
- name: Lint
run: deno lint
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: meson test --suite deno-gi --print-errorlogs