added windows CI based on MSYS2

This commit is contained in:
Sven Vogel 2024-06-05 11:37:57 +02:00
parent aa5d0b0710
commit edefc717c8
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: MSYS2
on: [push, pull_request]
jobs:
msys2-ucrt64:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: mingw-w64-x86_64-gcc mingw-w64-x86_64-glib2 bison flex mingw-w64-x86_64-llvm cmake git make
- name: CI-Build
run: |
echo 'Running in MSYS2!'
./ci-build.sh

4
ci-build.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
cmake .
make release