From b4d92c50fb787d61f70c5f432ff831c6225e2b91 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 4 May 2024 11:47:24 -0700 Subject: [PATCH] [MacOS Workflow] New dependency tarball for macOS Sonora. --- .github/workflows/mac-tests.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/mac-tests.yaml b/.github/workflows/mac-tests.yaml index cdecc9ec50..143de00eee 100644 --- a/.github/workflows/mac-tests.yaml +++ b/.github/workflows/mac-tests.yaml @@ -20,7 +20,7 @@ jobs: uses: carlosperate/download-file-action@v2 id: dependencies with: - file-url: 'https://downloads.sourceforge.net/gnucash/Dependencies/gnucash-4.900-mac-dependencies.tar.xz' + file-url: 'https://downloads.sourceforge.net/gnucash/Dependencies/gnucash-5.6-mac-dependencies.tar.xz' file-name: gnucash-dependencies.tar.xz - name: download googletest uses: carlosperate/download-file-action@v2 @@ -29,25 +29,23 @@ jobs: with: file-url: 'https://github.com/google/googletest/archive/release-1.10.0.tar.gz' file-name: googletest.tar.gz - - run: | - cd $HOME - mkdir gnucash - cd gnucash + - name: Extract Dependencies + run: | + mkdir -p $HOME/gnucash/inst + cd $HOME/gnucash/inst tar -xf $GITHUB_WORKSPACE/gnucash-dependencies.tar.xz - mkdir source - cd source + mkdir $HOME/gnucash/source + cd $HOME/gnucash/source tar -xf $GITHUB_WORKSPACE/googletest.tar.gz mv googletest-* googletest - cd .. - ls source - name: Configure GnuCash run: | - mkdir build - cd build + mkdir $HOME/gnucash/build + cd $HOME/gnucash/build cmake -GNinja -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_PREFIX_PATH=$PREFIX -DWITH_PYTHON=ON -DGTEST_ROOT=$SRCROOT/googletest $GITHUB_WORKSPACE - name: Build and Test GnuCash run: | - cd build + cd $HOME/gnucash/build ninja ninja check env: