diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2021-05-28 20:45:11 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2021-07-15 20:59:27 -0500 |
commit | 69ce388a87d5a69280848330f4a2dee63fa21dfb (patch) | |
tree | 2e53a125275267046709b1624ccb23a9ff7a9e11 /.github/workflows/msys-build.yml | |
parent | fee86de499314eda81111b7c7293fcacf8ca8db1 (diff) |
actions: Add MSYS2 builder
Diffstat (limited to '.github/workflows/msys-build.yml')
-rw-r--r-- | .github/workflows/msys-build.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/msys-build.yml b/.github/workflows/msys-build.yml new file mode 100644 index 00000000..9311b79e --- /dev/null +++ b/.github/workflows/msys-build.yml @@ -0,0 +1,40 @@ +name: MSYS2 Build +on: [push, pull_request] + +jobs: + 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 |