Commit 4552bc9948cdf295a3856e04df5c7c217d18f78c

Authored by Perry Werneck
1 parent ebf74ac9
Exists in develop

Debugging workflows.

.github/workflows/macos.yml
1 -name: Publish 1 +name: check-macos
2 on: 2 on:
3 push: 3 push:
4 - branches: [ "publish" ]  
5 - tags: [ "*" ] 4 + branches: [ "macos" ]
  5 + pull_request:
  6 + branches: [ "master" ]
6 7
7 jobs: 8 jobs:
8 macos-build: 9 macos-build:
.github/workflows/msys2.yml
1 -name: MSYS2 1 +name: check-msys2
2 on: 2 on:
3 - pull_request:  
4 - branches:  
5 - - master  
6 push: 3 push:
7 - branches:  
8 - - develop 4 + branches: [ "win" ]
  5 + pull_request:
  6 + branches: [ "master" ]
  7 +
9 jobs: 8 jobs:
10 - msys2-mingw:  
11 - name: Publish Windows 64 9 + msys2-build:
12 runs-on: windows-latest 10 runs-on: windows-latest
13 defaults: 11 defaults:
14 run: 12 run:
.github/workflows/publish.yml 0 → 100644
@@ -0,0 +1,81 @@ @@ -0,0 +1,81 @@
  1 +---
  2 +name: Publish
  3 +on:
  4 + push:
  5 + branches: [ "publish" ]
  6 + tags: [ "*" ]
  7 +
  8 +jobs:
  9 + msys2-publish:
  10 + runs-on: windows-latest
  11 + defaults:
  12 + run:
  13 + shell: msys2 {0}
  14 + steps:
  15 + - uses: actions/checkout@v3
  16 + - uses: oprypin/find-latest-tag@v1
  17 + id: gettag
  18 + with:
  19 + repository: PerryWerneck/pw3270
  20 + sort-tags: true
  21 + releases-only: true
  22 + - uses: msys2/setup-msys2@v2
  23 + with:
  24 + msystem: mingw64
  25 + update: true
  26 + install: xz dos2unix mingw-w64-x86_64-gcc automake autoconf make git pkgconf
  27 + mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl
  28 + libtool mingw-w64-x86_64-gtk3 mingw-w64-x86_64-librsvg mingw-w64-x86_64-gdk-pixbuf2
  29 + mingw-w64-x86_64-optipng mingw-w64-x86_64-nsis
  30 + - uses: robinraju/release-downloader@v1.7
  31 + with:
  32 + repository: "PerryWerneck/lib3270"
  33 + latest: true
  34 + fileName: "mingw-w64-x86_64-lib3270-5.4-0-x86_64.pkg.tar.zst"
  35 + - uses: robinraju/release-downloader@v1.7
  36 + with:
  37 + repository: "PerryWerneck/libv3270"
  38 + latest: true
  39 + fileName: "mingw-w64-x86_64-libv3270-5.4-0-x86_64.pkg.tar.zst"
  40 + - name: BuildApp
  41 + run: ./win/ci-build.sh
  42 + - uses: ncipollo/release-action@v1
  43 + with:
  44 + tag: ${{ steps.gettag.outputs.tag }}
  45 + artifacts: "*-pw3270-*.pkg.tar.zst"
  46 + allowUpdates: true
  47 + draft: true
  48 + makeLatest: true
  49 + omitBody: true
  50 + omitPrereleaseDuringUpdate: true
  51 + replacesArtifacts: true
  52 + - uses: robinraju/release-downloader@v1.7
  53 + with:
  54 + repository: PerryWerneck/libipc3270
  55 + latest: true
  56 + fileName: mingw-w64-x86_64-libipc3270-5.5-0-x86_64.pkg.tar.zst
  57 + - uses: robinraju/release-downloader@v1.7
  58 + with:
  59 + repository: PerryWerneck/libhllapi
  60 + latest: true
  61 + fileName: mingw-w64-x86_64-libhllapi-5.5-0-x86_64.pkg.tar.zst
  62 + - uses: robinraju/release-downloader@v1.7
  63 + with:
  64 + repository: PerryWerneck/pw3270-plugin-ipc
  65 + latest: true
  66 + fileName: mingw-w64-x86_64-pw3270-plugin-ipc-5.5-0-x86_64.pkg.tar.zst
  67 + - name: Make bundle
  68 + run: ./win/bundle.msys
  69 + - name: Make Package
  70 + run: tar -C ./.bin/bundle -Jcf mingw-w64-x86_64-pw3270-bundle-x86_64.tar.xz .
  71 + - uses: ncipollo/release-action@v1
  72 + with:
  73 + tag: ${{ steps.gettag.outputs.tag }}
  74 + artifacts: "*-pw3270-*.tar.*"
  75 + allowUpdates: true
  76 + draft: true
  77 + makeLatest: true
  78 + omitBody: true
  79 + omitPrereleaseDuringUpdate: true
  80 + replacesArtifacts: true
  81 +
.github/workflows/winpkg.yml
@@ -1,84 +0,0 @@ @@ -1,84 +0,0 @@
1 ----  
2 -name: WinPKG  
3 -on:  
4 - pull_request:  
5 - branches:  
6 - - master  
7 - push:  
8 - branches:  
9 - - winpkg  
10 -jobs:  
11 - msys2-mingw64:  
12 - name: Publish for Windows 64  
13 - runs-on: windows-latest  
14 - defaults:  
15 - run:  
16 - shell: msys2 {0}  
17 - steps:  
18 - - uses: actions/checkout@v3  
19 - - uses: oprypin/find-latest-tag@v1  
20 - id: gettag  
21 - with:  
22 - repository: PerryWerneck/pw3270  
23 - sort-tags: true  
24 - releases-only: true  
25 - - uses: msys2/setup-msys2@v2  
26 - with:  
27 - msystem: mingw64  
28 - update: true  
29 - install: xz dos2unix mingw-w64-x86_64-gcc automake autoconf make git pkgconf  
30 - mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl  
31 - libtool mingw-w64-x86_64-gtk3 mingw-w64-x86_64-librsvg mingw-w64-x86_64-gdk-pixbuf2  
32 - mingw-w64-x86_64-optipng mingw-w64-x86_64-nsis  
33 - - uses: robinraju/release-downloader@v1.7  
34 - with:  
35 - repository: "PerryWerneck/lib3270"  
36 - latest: true  
37 - fileName: "mingw-w64-x86_64-lib3270-5.4-0-x86_64.pkg.tar.zst"  
38 - - uses: robinraju/release-downloader@v1.7  
39 - with:  
40 - repository: "PerryWerneck/libv3270"  
41 - latest: true  
42 - fileName: "mingw-w64-x86_64-libv3270-5.4-0-x86_64.pkg.tar.zst"  
43 - - name: BuildApp  
44 - run: ./win/ci-build.sh  
45 - - uses: ncipollo/release-action@v1  
46 - with:  
47 - tag: ${{ steps.gettag.outputs.tag }}  
48 - artifacts: "*-pw3270-*.pkg.tar.zst"  
49 - allowUpdates: true  
50 - draft: true  
51 - makeLatest: true  
52 - omitBody: true  
53 - omitPrereleaseDuringUpdate: true  
54 - replacesArtifacts: true  
55 - - uses: robinraju/release-downloader@v1.7  
56 - with:  
57 - repository: PerryWerneck/libipc3270  
58 - latest: true  
59 - fileName: mingw-w64-x86_64-libipc3270-5.5-0-x86_64.pkg.tar.zst  
60 - - uses: robinraju/release-downloader@v1.7  
61 - with:  
62 - repository: PerryWerneck/libhllapi  
63 - latest: true  
64 - fileName: mingw-w64-x86_64-libhllapi-5.5-0-x86_64.pkg.tar.zst  
65 - - uses: robinraju/release-downloader@v1.7  
66 - with:  
67 - repository: PerryWerneck/pw3270-plugin-ipc  
68 - latest: true  
69 - fileName: mingw-w64-x86_64-pw3270-plugin-ipc-5.5-0-x86_64.pkg.tar.zst  
70 - - name: Make bundle  
71 - run: ./win/bundle.msys  
72 - - name: Make Package  
73 - run: tar -C ./.bin/bundle -Jcf mingw-w64-x86_64-pw3270-bundle-x86_64.tar.xz .  
74 - - uses: ncipollo/release-action@v1  
75 - with:  
76 - tag: ${{ steps.gettag.outputs.tag }}  
77 - artifacts: "*-pw3270-*.tar.xz"  
78 - allowUpdates: true  
79 - draft: true  
80 - makeLatest: true  
81 - omitBody: true  
82 - omitPrereleaseDuringUpdate: true  
83 - replacesArtifacts: true  
84 -