2021-05-29 03:45:11 +02:00
|
|
|
name: MSYS2 Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2021-12-01 20:07:34 +01:00
|
|
|
msys2_build:
|
2021-05-29 03:45:11 +02:00
|
|
|
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
|