summary refs log tree commit diff stats
path: root/.github/workflows/msys-build.yml
blob: b7779da6782dc2ef33857b0296aa86d09bb44245 (plain) (blame)
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
name: MSYS2 Build
on: [push, pull_request]

jobs:
  msys2_build:
    runs-on: windows-latest
    defaults:
      run:
        shell: msys2 {0}

    steps:
      - uses: actions/checkout@v2

      - uses: msys2/setup-msys2@v2
        with:
          install: >-
            mingw-w64-x86_64-gcc
            mingw-w64-x86_64-pkg-config
            mingw-w64-x86_64-python3-cffi
            mingw-w64-x86_64-meson
            mingw-w64-x86_64-gtk2
            mingw-w64-x86_64-luajit
            mingw-w64-x86_64-desktop-file-utils

      - name: Configure
        run: >-
          meson build
          -Dtext-frontend=true
          -Ddbus=disabled
          -Dwith-upd=false
          -Dwith-perl=false

      - name: Build
        run: ninja -C build

      - name: Test
        run: ninja -C build test

      - name: Install
        run: ninja -C build install