From cc0d5e1c253b0e5d264bdc6ebe6c878f07bdfd3d Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Tue, 19 Mar 2024 21:29:51 -0700 Subject: [PATCH] Add workflow build for macos-latest --- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f3fabd..69d7f09 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,3 +76,32 @@ jobs: run: gimptool-2.0 --install fix-ca.c - name: Uninstall local gimp-fix-ca run: gimptool-2.0 --uninstall-bin fix-ca + macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - uses: melusina-org/setup-macports@v1 + id: 'macports' + - name: sudo port gcc and gimp2 + run: sudo port gimp2 gcc gimp2-devel + - name: Make local gimp-fix-ca install + run: gimptool-2.0 --install fix-ca.c + - name: Uninstall local gimp-fix-ca + run: gimptool-2.0 --uninstall-bin fix-ca + brew: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: brew install gimp-dev + run: | + brew install autoconf automake libtool gcc + brew install --cask gimp + autoreconf -i + automake + ./configure + - name: look for gimptool + run: which gimptool-2.0 + - name: Make local gimp-fix-ca install + run: gimptool-2.0 --install fix-ca.c + - name: Uninstall local gimp-fix-ca + run: gimptool-2.0 --uninstall-bin fix-ca