Commit 901702424dd8b34e22be13268dbb0682399bb569

Authored by Perry Werneck
Committed by GitHub
2 parents 13c89a2c 357750c7
Exists in develop

Merge pull request #54 from PerryWerneck/macos

Debugging macos actions & publisher
.github/workflows/macos.yml
@@ -16,6 +16,10 @@ jobs: @@ -16,6 +16,10 @@ jobs:
16 brew update 16 brew update
17 brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig 17 brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig
18 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete 18 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
  19 + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
  20 + find /usr/local/lib/node_modules/npm -delete
  21 + rm -f /usr/local/bin/go || true
  22 + rm -f /usr/local/bin/gofmt || true
19 brew upgrade 23 brew upgrade
20 - name: build 24 - name: build
21 run: ./mac/ci-build.sh 25 run: ./mac/ci-build.sh
.github/workflows/publish.yml
1 name: Publish 1 name: Publish
2 on: 2 on:
3 push: 3 push:
4 - branches: [ "win" ] 4 + branches: [ "macos" ]
5 tags: [ "*" ] 5 tags: [ "*" ]
6 6
7 jobs: 7 jobs:
@@ -24,7 +24,6 @@ jobs: @@ -24,7 +24,6 @@ jobs:
24 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 24 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
25 - name: CI-Build 25 - name: CI-Build
26 run: | 26 run: |
27 - pacman -U --noconfirm *.pkg.tar.zst  
28 dos2unix PKGBUILD.mingw 27 dos2unix PKGBUILD.mingw
29 makepkg BUILDDIR=/tmp/pkg -p PKGBUILD.mingw 28 makepkg BUILDDIR=/tmp/pkg -p PKGBUILD.mingw
30 - uses: ncipollo/release-action@v1 29 - uses: ncipollo/release-action@v1
@@ -81,6 +80,8 @@ jobs: @@ -81,6 +80,8 @@ jobs:
81 brew update 80 brew update
82 brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig 81 brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig
83 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete 82 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
  83 + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
  84 + find /usr/local/lib/node_modules/npm -delete
84 rm -f /usr/local/bin/go || true 85 rm -f /usr/local/bin/go || true
85 rm -f /usr/local/bin/gofmt || true 86 rm -f /usr/local/bin/gofmt || true
86 brew upgrade 87 brew upgrade