Commit e07326195a931add3f69518b4d12d0f97945aa53

Authored by Perry Werneck
1 parent 60b20018
Exists in develop

New action to publish macos and windows builds.

.github/workflows/macos.yml
@@ -1,40 +0,0 @@ @@ -1,40 +0,0 @@
1 -name: MacOS  
2 -on:  
3 - push:  
4 - branches:  
5 - [ develop ]  
6 -jobs:  
7 - macos-build:  
8 - name: Build for mac  
9 - runs-on: macos-latest  
10 - steps:  
11 - - name: Checkout  
12 - uses: actions/checkout@v3  
13 - - uses: oprypin/find-latest-tag@v1  
14 - id: gettag  
15 - with:  
16 - repository: PerryWerneck/lib3270  
17 - releases-only: true  
18 - - name: Install Pre reqs  
19 - run: |  
20 - brew update  
21 - brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig gtk+3  
22 - brew upgrade  
23 - - uses: robinraju/release-downloader@v1.7  
24 - with:  
25 - repository: "PerryWerneck/lib3270"  
26 - latest: true  
27 - fileName: "macos-lib3270.tar.xz"  
28 - - name: build  
29 - run: ./mac/ci-build.sh  
30 - - uses: ncipollo/release-action@v1  
31 - with:  
32 - tag: ${{ steps.gettag.outputs.tag }}  
33 - artifacts: "macos-libv3270.tar.xz"  
34 - allowUpdates: true  
35 - draft: false  
36 - makeLatest: true  
37 - omitBody: true  
38 - omitPrereleaseDuringUpdate: true  
39 - replacesArtifacts: true  
40 -  
.github/workflows/msys2.yml
@@ -1,45 +0,0 @@ @@ -1,45 +0,0 @@
1 -name: MSYS2  
2 -on:  
3 - pull_request:  
4 - branches:  
5 - - master  
6 - schedule:  
7 - - cron: '30 13 2 2,4,6,8,10,12 *'  
8 -  
9 -jobs:  
10 - msys2-mingw:  
11 - runs-on: windows-latest  
12 - defaults:  
13 - run:  
14 - shell: msys2 {0}  
15 - steps:  
16 - - uses: actions/checkout@v3  
17 - - uses: oprypin/find-latest-tag@v1  
18 - id: gettag  
19 - with:  
20 - repository: PerryWerneck/lib3270  
21 - releases-only: true  
22 - - uses: msys2/setup-msys2@v2  
23 - with:  
24 - msystem: mingw64  
25 - update: true  
26 - install: xz 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  
27 - - uses: robinraju/release-downloader@v1.7  
28 - with:  
29 - repository: "PerryWerneck/lib3270"  
30 - latest: true  
31 - fileName: "mingw-lib3270.tar.xz"  
32 - - name: CI-Build  
33 - run: |  
34 - ./win/ci-build.sh  
35 - - uses: ncipollo/release-action@v1  
36 - with:  
37 - tag: ${{ steps.gettag.outputs.tag }}  
38 - artifacts: "mingw-libv3270.tar.xz"  
39 - allowUpdates: true  
40 - draft: false  
41 - makeLatest: true  
42 - omitBody: true  
43 - omitPrereleaseDuringUpdate: true  
44 - replacesArtifacts: true  
45 -  
.github/workflows/publish.yml 0 → 100644
@@ -0,0 +1,79 @@ @@ -0,0 +1,79 @@
  1 +name: MSYS2
  2 +on:
  3 + pull_request:
  4 + branches:
  5 + - master
  6 + - develop
  7 + schedule:
  8 + - cron: '30 13 2 2,4,6,8,10,12 *'
  9 +
  10 +jobs:
  11 + msys2-mingw:
  12 + runs-on: windows-latest
  13 + defaults:
  14 + run:
  15 + shell: msys2 {0}
  16 + steps:
  17 + - uses: actions/checkout@v3
  18 + - uses: oprypin/find-latest-tag@v1
  19 + id: gettag
  20 + with:
  21 + repository: PerryWerneck/libv3270
  22 + releases-only: true
  23 + - uses: msys2/setup-msys2@v2
  24 + with:
  25 + msystem: mingw64
  26 + update: true
  27 + install: xz 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
  28 + - uses: robinraju/release-downloader@v1.7
  29 + with:
  30 + repository: "PerryWerneck/lib3270"
  31 + latest: true
  32 + fileName: "mingw-lib3270.tar.xz"
  33 + - name: CI-Build
  34 + run: |
  35 + ./win/ci-build.sh
  36 + - uses: ncipollo/release-action@v1
  37 + with:
  38 + tag: ${{ steps.gettag.outputs.tag }}
  39 + artifacts: "mingw-libv3270.tar.xz"
  40 + allowUpdates: true
  41 + draft: false
  42 + makeLatest: true
  43 + omitBody: true
  44 + omitPrereleaseDuringUpdate: true
  45 + replacesArtifacts: true
  46 + macos:
  47 + name: Build for mac
  48 + runs-on: macos-latest
  49 + steps:
  50 + - name: Checkout
  51 + uses: actions/checkout@v3
  52 + - uses: oprypin/find-latest-tag@v1
  53 + id: gettag
  54 + with:
  55 + repository: PerryWerneck/lib3270
  56 + releases-only: true
  57 + - name: Install Pre reqs
  58 + run: |
  59 + brew update
  60 + brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig gtk+3
  61 + brew upgrade
  62 + - uses: robinraju/release-downloader@v1.7
  63 + with:
  64 + repository: "PerryWerneck/libv3270"
  65 + latest: true
  66 + fileName: "macos-lib3270.tar.xz"
  67 + - name: build
  68 + run: ./mac/ci-build.sh
  69 + - uses: ncipollo/release-action@v1
  70 + with:
  71 + tag: ${{ steps.gettag.outputs.tag }}
  72 + artifacts: "macos-libv3270.tar.xz"
  73 + allowUpdates: true
  74 + draft: false
  75 + makeLatest: true
  76 + omitBody: true
  77 + omitPrereleaseDuringUpdate: true
  78 + replacesArtifacts: true
  79 +