Commit 3da0a1c3bf892b1233b1b310620360290f660c1f
Committed by
GitHub
Exists in
develop
Merge pull request #65 from PerryWerneck/macos
Debugging actions, fixing macos action.
Showing
5 changed files
with
128 additions
and
150 deletions
Show diff stats
... | ... | @@ -0,0 +1,41 @@ |
1 | +name: check-macos | |
2 | +on: | |
3 | + push: | |
4 | + branches: [ "macos" ] | |
5 | + pull_request: | |
6 | + branches: [ "master" ] | |
7 | + | |
8 | +jobs: | |
9 | + macos-build: | |
10 | + runs-on: macos-latest | |
11 | + steps: | |
12 | + - name: Checkout | |
13 | + uses: actions/checkout@v3 | |
14 | + - name: Install Pre reqs | |
15 | + run: | | |
16 | + brew remove azure-cli | |
17 | + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
18 | + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
19 | + rm -rf /usr/local/bin/2to3* | |
20 | + rm -rf /usr/local/bin/idle3* | |
21 | + rm -rf /usr/local/bin/pydoc3* | |
22 | + rm -rf /usr/local/bin/python3 | |
23 | + rm -rf /usr/local/bin/python3-config | |
24 | + rm -rf /usr/local/bin/python3* | |
25 | + rm -rf /usr/local/bin/python3*-config | |
26 | + find /usr/local/lib/node_modules/npm -delete | |
27 | + brew update | |
28 | + brew install xz automake libtool binutils coreutils curl gettext libtool openssl pkgconfig gtk+3 | |
29 | + - uses: robinraju/release-downloader@v1.7 | |
30 | + with: | |
31 | + repository: "PerryWerneck/lib3270" | |
32 | + latest: true | |
33 | + fileName: "macos-lib3270.tar.xz" | |
34 | + - uses: robinraju/release-downloader@v1.7 | |
35 | + with: | |
36 | + repository: "PerryWerneck/libv3270" | |
37 | + latest: true | |
38 | + fileName: "macos-libv3270.tar.xz" | |
39 | + - name: build | |
40 | + run: ./mac/ci-build.sh | |
41 | + | ... | ... |
.github/workflows/macpkg.yml
... | ... | @@ -1,53 +0,0 @@ |
1 | -name: Publish | |
2 | -on: | |
3 | - push: | |
4 | - branches: | |
5 | - - macos | |
6 | - pull_request: | |
7 | - branches: | |
8 | - - master | |
9 | - - develop | |
10 | -jobs: | |
11 | - macos: | |
12 | - name: Publish macos | |
13 | - runs-on: macos-latest | |
14 | - steps: | |
15 | - - name: Checkout | |
16 | - uses: actions/checkout@v3 | |
17 | - - uses: oprypin/find-latest-tag@v1 | |
18 | - id: gettag | |
19 | - with: | |
20 | - repository: PerryWerneck/pw3270 | |
21 | - sort-tags: true | |
22 | - releases-only: true | |
23 | - - name: Install Pre reqs | |
24 | - run: | | |
25 | - brew update | |
26 | - brew install xz automake libtool binutils coreutils curl gettext libtool openssl pkgconfig gtk+3 | |
27 | - find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
28 | - find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
29 | - find /usr/local/lib/node_modules/npm -delete | |
30 | - brew upgrade | |
31 | - - uses: robinraju/release-downloader@v1.7 | |
32 | - with: | |
33 | - repository: "PerryWerneck/lib3270" | |
34 | - latest: true | |
35 | - fileName: "macos-lib3270.tar.xz" | |
36 | - - uses: robinraju/release-downloader@v1.7 | |
37 | - with: | |
38 | - repository: "PerryWerneck/libv3270" | |
39 | - latest: true | |
40 | - fileName: "macos-libv3270.tar.xz" | |
41 | - - name: build | |
42 | - run: ./mac/ci-build.sh | |
43 | - - uses: ncipollo/release-action@v1 | |
44 | - with: | |
45 | - tag: ${{ steps.gettag.outputs.tag }} | |
46 | - artifacts: "macos-pw3270.tar.xz" | |
47 | - allowUpdates: true | |
48 | - draft: true | |
49 | - makeLatest: true | |
50 | - omitBody: true | |
51 | - omitPrereleaseDuringUpdate: true | |
52 | - replacesArtifacts: true | |
53 | - |
.github/workflows/msys2.yml
1 | -name: MSYS2 | |
1 | +name: check-msys2 | |
2 | 2 | on: |
3 | - pull_request: | |
4 | - branches: | |
5 | - - master | |
6 | 3 | push: |
7 | - branches: | |
8 | - - develop | |
4 | + branches: [ "win" ] | |
5 | + pull_request: | |
6 | + branches: [ "master" ] | |
7 | + | |
9 | 8 | jobs: |
10 | - msys2-mingw: | |
11 | - name: Publish Windows 64 | |
9 | + msys2-build: | |
12 | 10 | runs-on: windows-latest |
13 | 11 | defaults: |
14 | 12 | run: |
15 | 13 | shell: msys2 {0} |
16 | 14 | steps: |
17 | 15 | - uses: actions/checkout@v3 |
18 | - - uses: oprypin/find-latest-tag@v1 | |
19 | - id: gettag | |
20 | - with: | |
21 | - repository: PerryWerneck/pw3270 | |
22 | - releases-only: true | |
23 | 16 | - uses: msys2/setup-msys2@v2 |
24 | 17 | with: |
25 | 18 | msystem: mingw64 | ... | ... |
... | ... | @@ -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 | ---- | |
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 | - |