-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (34 loc) · 1.02 KB
/
msys2.yml
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
name: check-msys2
on:
push:
branches: [ "win" ]
pull_request:
branches: [ "master" ]
jobs:
msys2-build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: oprypin/find-latest-tag@v1
id: gettag
with:
repository: PerryWerneck/libv3270
releases-only: true
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: dos2unix mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl libtool mingw-w64-x86_64-gtk3
- uses: robinraju/[email protected]
with:
repository: "PerryWerneck/lib3270"
latest: true
fileName: "mingw-w64-x86_64-lib3270-5.4-0-x86_64.pkg.tar.zst"
- name: CI-Build
run: |
pacman -U --noconfirm *.pkg.tar.zst
dos2unix PKGBUILD.mingw
makepkg BUILDDIR=/tmp/pkg -p PKGBUILD.mingw