Add GHA integration

This commit is contained in:
Christoph Reiter 2021-03-24 08:27:44 +01:00
parent bc0a36d478
commit d26a9021ad
2 changed files with 31 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Declare files that always have LF line endings on checkout
* text eol=lf

29
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: setup-msys2
uses: msys2/setup-msys2@v2
with:
msystem: MSYS
update: true
install: msys2-devel base-devel
- name: Build
shell: msys2 {0}
run: |
makepkg -Csfri --noconfirm --nocheck
- name: Upload
uses: actions/upload-artifact@v2
with:
name: package
path: '*.pkg.tar.*'